Re-validate on change
See original GitHub issueWhat kind of issue is this? (put ‘x’ between the square brackets)
- Question. This issue tracker is not the place for questions. If you want to ask how to do
something, or to understand why something isn’t working the way you expect it to, use
http://stackoverflow.com/questions/ask .
Provide working code, starting from http://codepen.io/marcandre/pen/jqbzyN?editors=101.
We monitor the tag
parsley.js
. - Bug report. If you’ve found a bug, you must provide a minimal example in a CodePen, starting from http://codepen.io/marcandre/pen/jqbzyN?editors=101 .
- Feature Request. Make sure there’s no good way to do what you want first; consider asking on http://stackoverflow.com/questions/ask first.
When the error is triggered and then you just paste valid input, the field is not re-validated until you actually type something. May be it’s not a big deal with paste, but I’m currently using bootstrap datepicker and after if pastes the valid date, the error does not go away, again until you actually enter something or submit the form.
Issue Analytics
- State:
- Created 7 years ago
- Comments:7
Top Results From Across the Web
ReValidateMode 'onChange' doesn't validate after changes?
reValidateMode means after submit, validation will trigger on change. let me know if there are any keywords we can emphasis to improve the...
Read more >Automatic Revalidation - SWR
Revalidate on Focus#. When you re-focus a page or switch between tabs, SWR automatically revalidates data. This can be useful to immediately synchronize...
Read more >Revalidate an element when changed programmatically with ...
There is a field, "from", whose value is linked to another field, "to". How do I get the field "to" to revalidate once...
Read more >useForm | React Hook Form - Simple React forms validation
Validation will trigger on the blur and change events. reValidateMode: onChange | onBlur | onSubmit = 'onChange' ! React Native: Custom register or...
Read more >Validate a Change Set - Salesforce Help
You can validate a change set without deploying changes. By validating you can view the success or failure messages you would receive with...
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 FreeTop 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
Top GitHub Comments
Oh, I just re-read your report.
There is no bug with pasting text, just a bug with bootstrap datepicker. It’s actually a bug of the bootstrap datepicker that does not fire an
input
event even though it should.I’m travelling at the moment, so not much time to check it out, but I’ll post a PR for them when I can, if you or others don’t in the meantime.
PS: Don’t use
reset
or whatever, justtrigger('input')
yourself to circumvent the bug.I filed https://github.com/Eonasdan/bootstrap-datetimepicker/issues/1846 if you want to subscribe to it.