-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
TextFormField with TextInputType.phone opens the special characters keyboard at first #55448
Comments
Hi @kongo2002
flutter doctor -v
Also, to better address the issue, would be helpful |
@TahaTesser , thanks for having a quick look already! Finding a minimal reproduction wasn't that easy but I managed based on your example. The change is rather small but strange at the same time (at least to me): I can reproduce with your exact example just with the following added to the first full code
|
/cc @justinmc |
I was able to reproduce this as specified in #55448 (comment). I did have to completely kill and restart the app between adding that capitalization line in order to get the bug to appear. Really strange! Looking at where the engine sets the phone keyboard, there's nothing special there about special characters mode. It seems like using the capital keyboard in the first field tries to keep "capitalization" mode in the second field, which in the case of the phone keyboard is the special characters mode. |
Still reproducible on latest flutter doctor -v
|
Using the code sample provided here and running it on latest versions, the issue is not replicable anymore. Tried by hot restarting and killing the app, but the special char keyboard is not shown anymore. RPReplay-Final1668600212.MP4Closing as fixed. stable, master flutter doctor -v
|
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 |
When I am using a
TextFormField
with thekeyboardType
set toTextInputType.phone
on iOS I get the the special character keyboard (for #, * and +) first but not the numeric keyboard.Steps to Reproduce
TextFormField(keyboardType: TextInputType.phone)
Expected results:
the numeric keyboard should be displayed first
Actual results:
flutter doctor -v
It is the same behavior when I am using the latest beta or stable channel as well.
Cheers,
Gregor
The text was updated successfully, but these errors were encountered: