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

fix(TextInput): make clearInput call onChange #953

Merged
merged 1 commit into from
Jun 27, 2023

Conversation

rogerioshieh
Copy link
Contributor

Without this, TextInput fields that have an onChange won't have it triggered when the input is cleared:

Screen.Recording.2023-06-27.at.11.31.25.AM.mov

However, it should, since it should be the same thing as manually deleting the text. Example:

Screen.Recording.2023-06-27.at.11.31.49.AM.mov

Copy link
Collaborator

@akdetrick akdetrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense - thanks for the fix!

@akdetrick akdetrick merged commit 6986f4d into main Jun 27, 2023
@narmirobot
Copy link

🎉 This PR is included in version 2.46.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants