onChage only triggers with valid values.
ioness opened this issue · 3 comments
ioness commented
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?
github-actions commented
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.
github-actions commented
This issue was closed because it has been stalled for 14 days with no activity.
DavidPx commented
I also think that this is a bug... how would I disable my "Save" button when the user deletes the value?