No enter key on keypad when entering number
I'm using v0.8.0 and have noticed (on iOS) that when I hit the number it brings up the keypad, but there is no enter key.
Also, setting enableInteractiveSelection: false doesn't have the desired effect of disabling the keypad input.
Suggestions greatly appreciated!
Hi! Thanks for the bug report. Are you using CupertinoSpinBox or the Material style SpinBox? Could you help and try to find the appropriate properties and values that need to be set to get the correct keyboard for a plain CupertinoTextField or TextField on iOS?
I'm using the Material style SpinBox.
I don't understand your question about the TextField. Do you think the keyboard type is not set correctly?
Thanks,
Jim
On Thu, 17 Mar 2022 at 05:13, J-P Nurmi @.***> wrote:
Hi! Thanks for the bug report. Are you using CupertinoSpinBox or the Material style SpinBox? Could you help and try to find the appropriate properties and values that need to be set to get the correct keyboard for a plain CupertinoTextField or TextField on iOS?
— Reply to this email directly, view it on GitHub https://github.com/jpnurmi/flutter_spinbox/issues/47#issuecomment-1070519875, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANSL6ABL5QCUEMKVEOMAKHLVALST3ANCNFSM5Q5CBJ4Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
--
Jim Tompkins H: +1-902-453-3541 M-personal: +1-782-234-5038 note: new!
If we can find a way to show the correct type of keyboard with a plain TextField, then we can easily apply the necessary changes to SpinBox which is basically using TextField(keyboardType: TextInputType.numberWithOptions(...)) under the hood.
ok, thanks. I will dig into that a bit later today.
On Thu, 17 Mar 2022 at 08:14, J-P Nurmi @.***> wrote:
If we can find a way to show the correct type of keyboard with a plain TextField, then we can easily apply the necessary changes to SpinBox which is basically using TextField(keyboardType: TextInputType.numberWithOptions(...)) under the hood.
— Reply to this email directly, view it on GitHub https://github.com/jpnurmi/flutter_spinbox/issues/47#issuecomment-1070803187, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANSL6AETT2H5GHJYCF3U6VTVAMHZBANCNFSM5Q5CBJ4Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
--
Jim Tompkins H: +1-902-453-3541 M-personal: +1-782-234-5038 note: new!
I found this thread on SO: link
Based on that I found that using textInputAction: TextInputAction.done didn't work as expected. I found that
keyboardType: TextInputType.numberWithOptions(signed: true, decimal: false)
at least gives me an enter button, but it gives a more complex keyboard than I need. I really wanted "signed: false" but this didn't do anything.
I hope this points you in the right direction!
Do you resolve this issue?