Presentation styles / Style attributes reference |
Edit style presentation attributes apply to an edit element.
Attribute | Description | GDC CLIENT | HTML5 CLIENT |
---|---|---|---|
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 |