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
Overall, this looks a valid request. However, at the moment, we do not see a good solution to this issue. Additionally, we have not found strong references on how other libraries or major products handle this. Most either prevent keyboard input entirely or reset invalid values in a similar way.
Possible Solutions:
Modify the API to allow invalid props.value – This would introduce a significant breaking change, causing issues for existing projects. They would need to implement their own handling for invalid values.
Handle invalid values within the input but return null externally – The challenge here is how to visually indicate an invalid state. Component itself can only modify the border color. And users would not be able to attach specific validation messages for this case, since user would't know about invalid state, because of props.value === null.
Description
When User types date in unsupported format, there is no error message, just the field is cleared automatically
Steps to Reproduce
Actual result
https://github.com/user-attachments/assets/ce0bab8a-23ae-453a-ac72-126e0d5df829
There is no error message, just the field is cleared automatically.
Expected result
Error message should be displayed.
Failed SC:
3.3.1 Error Identification (Level A)
The text was updated successfully, but these errors were encountered: