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
Unable to enter decimals via keyboard on Android #42
Comments
Does it only happen on Android? Do you have a chance to try the same code on another platform? I wonder if it has something to do with the system locale. What kind of language/region/input settings does the device or emulator have? |
(In case it helps also seeing the same on a OnePlus 9 Pro also in |
Same here both in IOS and Android, i am from Greece el-GR and here we use as decimal , not . |
This happens because |
I'm using
SpinBox
within a component like so:But when I pop the keyboard and enter (e.g.)
6.0
it appears in the spinner as60
(i.e. the decimal key is ignored) and I have to manually select the decimal part of the number to replace it.This happens both with and without the manually set
keyboardType
, which I think shouldn't be necessary aswidget.decimals
is greater than zero.Am I missing something obvious? I didn't see anything other than
keyboardType
in the API docs but apologies if I have!The text was updated successfully, but these errors were encountered: