mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
Include bad email address in validator message
This commit is contained in:
parent
00c9550465
commit
074a03f2ec
@ -39,6 +39,6 @@ export class IsEmail extends Pattern
|
||||
*/
|
||||
static async getMessage(data)
|
||||
{
|
||||
return data.formControl.egw().lang("Invalid email");
|
||||
return data.formControl.egw().lang("Invalid email") + (data.modelValue ? ' "' + data.modelValue + '"' : "");
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user