From 16b2670642426278bebd1eafcea61eb18e71cb37 Mon Sep 17 00:00:00 2001 From: Jan Klattenhoff Date: Tue, 28 Jan 2025 08:48:03 +0100 Subject: [PATCH] feat(new-hotel): add more validation error messages --- src/app/new-hotel/new-hotel.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/new-hotel/new-hotel.component.ts b/src/app/new-hotel/new-hotel.component.ts index e5d2daf..8a18010 100644 --- a/src/app/new-hotel/new-hotel.component.ts +++ b/src/app/new-hotel/new-hotel.component.ts @@ -34,6 +34,8 @@ export class NewHotelComponent { private fullFormValidationErrorMessages: Record = { mismatch: 'The name and description have to be the same', + mismatchEmail: 'The Emails must be the same.', + mismatchPhone: 'The Phone numbers must be the same.', }; updateErrorMessages(): void {