feat(new-hotel): add more validation error messages
This commit is contained in:
parent
386813c524
commit
16b2670642
1 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,8 @@ export class NewHotelComponent {
|
|||
|
||||
private fullFormValidationErrorMessages: Record<string, string> = {
|
||||
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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue