Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Odd behavior on firefox with invalid dates on date input field #202

Open
senne-af opened this issue Jul 8, 2020 · 0 comments
Open

Odd behavior on firefox with invalid dates on date input field #202

senne-af opened this issue Jul 8, 2020 · 0 comments

Comments

@senne-af
Copy link

senne-af commented Jul 8, 2020

When entering an invalid date on firefox (so typing it in, not using the picker), the field gets cleared at a certain point.

The date in question is the 29th of february 2020.

When typing it in you can get to "29/02/20__" but as soon as you add the second 2 of 2020 the value of the field gets cleared (presumably because the year 202 did not have a 29th of february). In other browsers the incomplete date still shows, but on firefox the field gets cleared, preventing you from finishing the input.

You can test this out on the demo page at the date field:
https://availity.github.io/availity-reactstrap-validation/components/validators/

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

No branches or pull requests

1 participant