How to handle bad formatted date manually entered into input? #158
Unanswered
duyn-stanford
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I can't figure out how to handle badly formatted dates that are manually typed into the date input. For example, let's say I define the formatter as:
And then I manually enter '9/16/24` as input (for a single date date-picker) and leave focus of the input, I can't get at the inputted value. I'd like to at least reset it to an empty value on a blur event. Anyone have a workaround?
Beta Was this translation helpful? Give feedback.
All reactions