Form can still be submitted even with validation errors
See original GitHub issueHey, https://github.com/erikras/react-final-form/issues/3 is still an issue.
I’ve updated the codesandbox demo to 1.1.0 and I can get all errors
from the form, but I can still submit it.
Validation errors check should probably be added in hasSyncErrors
here, but how’s this test passing then.
Am I missing something? 🤔
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Form can be submitted even with validation errors #3 - GitHub
Yes. Injecting errors , like we do values into the form render function makes sense.
Read more >Form Validation Works But Still Submits When User Input The ...
My problem is that the validation works fine: Users get an alert that the phone number they provided has been used but my...
Read more >Form Validation Errors - how to track them and what to do ...
These errors usually happen after a user submits a form with all required fields correctly completed but:
Read more >Form shows validation errors What to do? - Winshuttle Support
Open a form you like to check for validation errors. Then click F12 in the Internet explorer which will open up the right...
Read more >Validation errors occurred - WordPress.org
I'm experiencing this problem when people are submitting the form the ... is the cause since the error still persists even after deactivating...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
That test was broken, as there was an invalid registered field. 🤦♂️
Published fix in
final-form v1.2.1
.