question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Form can still be submitted even with validation errors

See original GitHub issue

Hey, 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:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
erikrascommented, Dec 4, 2017

That test was broken, as there was an invalid registered field. 🤦‍♂️

1reaction
erikrascommented, Dec 4, 2017

Published fix in final-form v1.2.1.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found