-
Notifications
You must be signed in to change notification settings - Fork 76
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
calcite-input-date-picker: not preventing typing values outside or min/max #4276
Comments
[Implementor's note] the picker should scrap invalid values on blur and keep last valid value. cc @macandcheese @benelan |
Could be related: #4187 |
do we scrap invalid values on |
@anveshmekala on blur, as stated above. |
how do we handle the case where the user type in an invalid value outside of min/max range and the |
Wouldn't it be set to the initial value in this case? Let me know if I missed something. |
In the case where Example: ( assume user entered 01/01/2050 in input field after first render.)
|
Verified in |
Actual Behavior
When typing into the input, I can change the value to be less than the min or greater than the max
Expected Behavior
The textbox should restrict the user input to be within the min/max values similar to how the actual date picker is behaving.
Reproduction Sample
https://codepen.io/rpanichakit/pen/popyPVX?editors=1001
Reproduction Steps
Reproduction Version
beta.79
Relevant Info
Windows 10, Chrome 99.0.4844.74
Regression?
No response
The text was updated successfully, but these errors were encountered: