Get server-side validation messages displaying

This commit is contained in:
nathan 2022-02-25 10:30:55 -07:00
parent e048b26235
commit 44221f74ef

View File

@ -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,