forked from extern/egroupware
Get server-side validation messages displaying
This commit is contained in:
parent
e048b26235
commit
44221f74ef
@ -251,7 +251,8 @@ const Et2InputWidgetMixin = (superclass) =>
|
||||
// ToDo - implement Lion validators properly, most likely by adding to this.validators
|
||||
|
||||
// Need to change interaction state so messages show up
|
||||
this.prefilled = true;
|
||||
// submitted is a little heavy-handed, especially on first load, but it works
|
||||
this.submitted = true;
|
||||
// Add validator
|
||||
this.validators.push(new ManualMessage(err));
|
||||
// Force a validate - not needed normally, but if you call set_validation_error() manually,
|
||||
|
Loading…
Reference in New Issue
Block a user