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
Currently if the user enters any invalid date manually (out of the defined range) in the input, there is no way to identify the value as the onDateChange method gives us undefined in this case which is same as empty value. So we are unable to handle form validations as invalid value is treated as empty value.
Basic example
There should be a way to differentiate empty values with invalid values in the onDateChange method
Motivation
Handle invalid values in form validation, show specific user friendly errors and disable/enable submit button accordingly
The text was updated successfully, but these errors were encountered:
Summary
Currently if the user enters any invalid date manually (out of the defined range) in the input, there is no way to identify the value as the onDateChange method gives us undefined in this case which is same as empty value. So we are unable to handle form validations as invalid value is treated as empty value.
Basic example
There should be a way to differentiate empty values with invalid values in the onDateChange method
Motivation
Handle invalid values in form validation, show specific user friendly errors and disable/enable submit button accordingly
The text was updated successfully, but these errors were encountered: