Modifier and Type | Optional Element and Description |
---|---|
String |
autocomplete
When set to a non-blank string, maps to the
autocomplete attribute of this Granite UI component's node. |
boolean |
autofocus
When set to true, maps to the
autofocus attribute of this Granite UI component's node. |
long |
cols
Maps to the
cols attribute of this Granite UI component's node. |
String |
emptyText
When set to a non-blank string, maps to the
emptyText attribute of this Granite UI component's node. |
long |
maxlength
When set, defines the maximum number of characters (in Unicode code points) that the user can enter
|
TextAreaResizeType |
resize
Maps to the
resize attribute of this Granite UI component's node. |
long |
rows
Maps to the
rows attribute of this Granite UI component's node. |
String |
value
When set to a non-blank string, maps to the
value attribute of this Granite UI component's node
Used to define the default value for a TextField |
public abstract String autocomplete
autocomplete
attribute of this Granite UI component's node.
Indicates if the value can be automatically completed by the browser. See The HTML autocomplete
attribute for the supported valuespublic abstract boolean autofocus
autofocus
attribute of this Granite UI component's node.
Used to specify that this component will have focus after page load/refreshpublic abstract long cols
cols
attribute of this Granite UI component's node.
Sets the visible width of the text control, in average character widthspublic abstract String emptyText
emptyText
attribute of this Granite UI component's node.
Used to define the text hint for an empty TextAreapublic abstract long maxlength
public abstract TextAreaResizeType resize
resize
attribute of this Granite UI component's node.
Sets the resizing type of this TextAreaTextAreaResizeType
valuesTextAreaResizeType
public abstract long rows
rows
attribute of this Granite UI component's node.
Sets number of text rowspublic abstract String value
value
attribute of this Granite UI component's node
Used to define the default value for a TextFieldCopyright © 2024 Exadel, Inc.. All rights reserved.