Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Comments

@CodeLiftSleep
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant