-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
onChage only triggers with valid values. #136
Labels
Comments
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days. |
This issue was closed because it has been stalled for 14 days with no activity. |
I also think that this is a bug... how would I disable my "Save" button when the user deletes the value? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Say you have value: "14:23".
Then the user removes 14, so input displays: "--:23"
If for example you have required={true}, you will see a highligh in -- but internally, the value is still 14:23 as onChange only executes when a valid value is provided...
I think it should be null, otherwise how can we stop the formulary from working? It is not displaying the real value.
What do you think?
The text was updated successfully, but these errors were encountered: