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
If you fill out a required date field and click or tab away the field is marked as invalid. Validation works correctly when changing revalidate to 'hybrid'.
Unfortunately, with my Firefox 60 on Linux and a Browserstack Firefox 60 beta on Win10 I can’t reproduce your test case (verbatim copied for Linux, on https://jsbin.com/qemacer/1/edit?html,output for Windows). Hyperform on Firefox marks the field as valid in both cases.
type=date is a nasty beast, though. I’ve got #49 open for ages, because I’ve got no idea, how to tackle that when the browser itself jumps in.
Strange that the problem is not consistent! I wondered if it had anything to do with locale, but I can't seem to get Firefox to change from "mm/dd/yyyy" for date formatting.
I'm on Firefox 60.0.1 (64-bit) on Windows 10 and I still get the problem in your jsbin. It's only on entering the date when the field is empty. When I first enter a date validation fails, if I focus then blur the field after that validation succeeds (whether I edit the date or leave it the same). If I clear the field and enter a valid date again, validation fails on blur.
Locale is a good point! I’ll try to reproduce the error with another set-up, but that might take some time (currently much to do getting EU GDPR requirements set up).
Tested on Windows 10
If you fill out a required date field and click or tab away the field is marked as invalid. Validation works correctly when changing
revalidate
to'hybrid'
.Test case:
The text was updated successfully, but these errors were encountered: