Skip to content

Text input mode

Miki edited this page Dec 11, 2023 · 2 revisions

Since version 0.18.2 SuperTextField and the number fields allow setting the attribute inputmode. The allowed values are defined in an enum and correspond to the ones defined in the standard:

  • NONE
  • TEXT
  • DECIMAL (default for SuperDoubleField and SuperBigDecimalField)
  • NUMERIC (default for SuperIntegerField and SuperLongField)
  • TEL
  • SEARCH
  • EMAIL
  • URL

It is also possible to set null to remove the attribute.

Note that setting the value of that attribute does not have any effect on values supported by the field - it only affects the on-screen keyboard shown when the user focuses the field.

Clone this wiki locally