Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datepicker min validation #636

Open
hmezen opened this issue Jan 22, 2025 · 0 comments
Open

Datepicker min validation #636

hmezen opened this issue Jan 22, 2025 · 0 comments

Comments

@hmezen
Copy link
Contributor

hmezen commented Jan 22, 2025

When using Datepicker with react and assigning a min date string the invalid dates would be blocked in the dropdown picker however the user can still manually change the input date text, the change would trigger catChange with the new date string even if it is an invalid date. Then when the user unfocuses from the input the validation quicks in and it sets the date to min date which would trigger catChange again.

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

No branches or pull requests

1 participant