You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling SuperForm.getAllErors() first time through a form does not trigger an error even though they have validation rules that are not met on certain elements
#9
Open
CodeLiftSleep opened this issue
Sep 11, 2019
· 0 comments
However, if you go back to the form a second time(and all subsequent times) and re-validate the form, then it gets caught. The form status is INVALID both times. Tthe Superform.getAllErrors method returns no errors the first time, but returns the proper errors on the second time and all subsequent times through it(if you go back to the form).
I am unsure of why this is happening only that it does happen and it is very reproducible. The one example I am seeing is on a drop-down element that has no value selected, but I am not sure if it is limited to that element or not.
The text was updated successfully, but these errors were encountered:
However, if you go back to the form a second time(and all subsequent times) and re-validate the form, then it gets caught. The form status is INVALID both times. Tthe Superform.getAllErrors method returns no errors the first time, but returns the proper errors on the second time and all subsequent times through it(if you go back to the form).
I am unsure of why this is happening only that it does happen and it is very reproducible. The one example I am seeing is on a drop-down element that has no value selected, but I am not sure if it is limited to that element or not.
The text was updated successfully, but these errors were encountered: