-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Question: how show 'next' button in number-pad TextInput #26885
Comments
We are automatically closing this issue because it does not appear to follow any of the provided issue templates. 👉 Click here if you want to report a reproducible bug or regression in React Native. |
+1 |
Anyone find a solution to this? |
(Platform.OS === 'ios') ? 'done' : 'next' — good spike 🥇 |
This still happens in |
Any updates on this? |
If you use formik, done as returnKeyType dispatch handleSubmit so done is not an option. |
Why this is closed? Still a problem to me too in 0.61.5 |
any solution for this? having this issue.. but closed? |
Same problem here. Any solution?? |
Simply add an InputAccessoryView and bind the next input focus event to a button inside that view |
I am curious about this approach, could you share a code block example? Thanks |
Thats odd, I am trying to solve this and I am using Formik, had to create a whole class component just to hold my forms to be able to focus the next input as useRef was not working for me, and calling <FormInput
allowFontScaling={false}
onChangeText={handleChange('redemptionsTotal')}
onBlur={handleBlur('redemptionsTotal')}
name="redemptionsTotal"
value={values.redemptionsTotal}
error={errors.redemptionsTotal}
touched={touched.redemptionsTotal}
placeholder="TOTAL"
returnKeyType={Platform.OS === 'ios' ? 'done' : 'next'}
blurOnSubmit={false}
keyboardType="numeric"
setInpRef={(inpRedeemTotal) => (this.inpRedeemTotal = inpRedeemTotal)}
onSubmitEditing={() => this.inpRedeemUser.focus()}
style={styles.inputShort}
/>; |
|
@react-native-bot Same problem here. Any solution? |
Same problem here, any solution? :( |
Using 0.63 and same problem 😭 |
Why it's closed? |
Still an issue, why is this closed? |
I created a new issue that follows the template, maybe this will be looked at. Please upvote the new issue if you want this bug to be solved: #31794 |
I have a form with some TextInputs, someone of the are number-pad.
How can I show next button with number-pad keyboard?
DONE button works fine.
NEXT button is not visible.
The text was updated successfully, but these errors were encountered: