You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because the onEndEditing callback is not getting invoked until after the TextInput component loses focus, my app was attempting to save the contents of the form before the onEndEditing was called, so the formatted result was not coming in. For my use, I added another callback comparable to onValueUpdate() called onFormattedUpdate(). I also fixed a small error where you didn't provide the onValueUpdate as a useEffect dependency.
@timothytripp Hi, it's me again. Could you post an example (on expo if possible) that shows the issue you're having with onEndEditing. Is your app auto saving the contents of the field without any user interaction?
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
[email protected]
for the project I'm working on.Because the onEndEditing callback is not getting invoked until after the TextInput component loses focus, my app was attempting to save the contents of the form before the onEndEditing was called, so the formatted result was not coming in. For my use, I added another callback comparable to onValueUpdate() called onFormattedUpdate(). I also fixed a small error where you didn't provide the onValueUpdate as a useEffect dependency.
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: