Skip to content

Conversation

@CarlosNZ
Copy link
Owner

@CarlosNZ CarlosNZ commented May 1, 2024

Fix #51

Also prevented the onUpdate functions from running when the user didn't actually change the value (this prevents an "Undo" mechanism from thinking there is something to be "undone")

@CarlosNZ CarlosNZ merged commit a8e3ef4 into main May 1, 2024
@CarlosNZ CarlosNZ deleted the 51-onChange-prop branch May 1, 2024 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add an "onChange" prop, which can run a function on every input change (and change the value)

2 participants