SDL_TEXTINPUT_TYPE_NUMBER
doesn't support inputting decimal numbers on iOS
#12025
Milestone
SDL_TEXTINPUT_TYPE_NUMBER
doesn't support inputting decimal numbers on iOS
#12025
It currently uses
UIKeyboardTypeNumberPad
, which only supports the digits 0-9. But on Android, it usesTYPE_CLASS_NUMBER | TYPE_NUMBER_VARIATION_NORMAL
which additionally support the decimal separator.Either update iOS to use DecimalPad or add a new
SDL_TEXTINPUT_TYPE_DECIMAL
.How
SDL_TEXTINPUT_TYPE_NUMBER
looks on Android:The text was updated successfully, but these errors were encountered: