Edit style presentation attributes apply to an edit element.
Attribute | GDC | GWC-JS | GMA | GMI |
---|---|---|---|---|
dataTypeHint Defines the type of the input, to let the front-end render a field behavior suitable for the particular data type. This attribute is especially useful on mobile devices. Values can be:
For example, on a smart phone, entering data into an edit
field with datatypeHint="tel" makes the numeric
keyboard appear.
<Style name="Edit.hintPhone"> <StyleAttribute name="dataTypeHint" value="tel"/> </Style> |
No | Yes | No | No |
spellCheck Defines if the edit field includes a spelling checker. Note:
|
No (see note) | No (see note) | No | Yes (see note) |