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
It would be great to have an inputAction field in the TextField widget. It's crucial for chat apps ("send"), search fields ("search") and complex forms ("next").
I stumbled upon this issue while porting a login form: The keyboard of the user name input should display a "next" button, which moves the focus to the password input.
Is there a time frame for the addition of this feature? It was mentioned by @goderbauer that a PR is planned.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
sir-boformer commentedon Jun 14, 2018
It would be great to have an inputAction field in the
TextFieldwidget. It's crucial for chat apps ("send"), search fields ("search") and complex forms ("next").I stumbled upon this issue while porting a login form: The keyboard of the user name input should display a "next" button, which moves the focus to the password input.
Is there a time frame for the addition of this feature? It was mentioned by @goderbauer that a PR is planned.
Here is what Android supports:
IME_ACTION_DONEIME_ACTION_GOIME_ACTION_NEXTIME_ACTION_SEARCHIME_ACTION_SENDIME_ACTION_NONE(newline)https://developer.android.com/reference/android/view/inputmethod/EditorInfo
Right now the displayed action is bound to the
keyboardTypeof theTextField.In the Android engine, only a small change in the inputActionFromTextInputAction method is required to support additional actions.
goderbauer commentedon Jul 2, 2018
@matthew-carroll You implemented this, right? Can we close it?
matthew-carroll commentedon Jul 2, 2018
@goderbauer Yep, I think we're good here. Interested parties can refer to the following PR:
#18855
github-actions commentedon Sep 2, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.