Skip to content
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

Closed
ioness opened this issue Apr 11, 2022 · 3 comments
Closed

onChage only triggers with valid values. #136

ioness opened this issue Apr 11, 2022 · 3 comments
Labels

Comments

@ioness
Copy link

ioness commented Apr 11, 2022

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
Copy link
Contributor

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 github-actions bot added the stale label Jul 11, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Aug 1, 2022

This issue was closed because it has been stalled for 14 days with no activity.

@github-actions github-actions bot closed this as completed Aug 1, 2022
@DavidPx
Copy link

DavidPx commented Aug 19, 2022

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
Labels
Projects
None yet
Development

No branches or pull requests

2 participants