Last active
November 2, 2024 22:18
-
-
Save chih/3aa8b3bbd490137a31f0b864eff1532e to your computer and use it in GitHub Desktop.
Adding showDoneButton property to react native's TextInput for number fields
But I can't get it to work!
@SudoPlz, you need to re-run the project
I've updated the gist so that onSubmitEditing gets called with the DONE button is pressed
Thank you for this one.
Uh oh.. this worked flawlessly.. before react-native decided to completely revamp the files in question..
@chih you wouldn't have a new version of this available?
Why this isn't PR yet?
noticing that onSubmitEditing
doesn't trigger
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How do we apply this via command line?Nevermind I leave this for others to find here.
Do:
curl https://gist.githubusercontent.com/chih/3aa8b3bbd490137a31f0b864eff1532e/raw/f1c683deeb5a8c98e32550c5b4ef4eacc61966a1/showDoneButton.patch | git apply