Text input mode - vaadin-miki/super-fields GitHub Wiki
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 forSuperDoubleField
andSuperBigDecimalField
)NUMERIC
(default forSuperIntegerField
andSuperLongField
)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.