The TextField component wraps an HTML <input type="text">
element.
"textField": {
"prototype": "digit/ui/text-field.reel",
"properties": {
"element": {"#": "textField"}
}
}
<input data-montage-id="textField" type="text">
value
- The text of the text field.placeholderValue
- A hint to the user of what can be entered in the control.enabled
- The state of the text field.
.digit-TextField
- The TextField element
.digit-TextField {
border-color: blue;
}
- Chrome (latest)
- Firefox (latest)
- Opera (latest)
- IE 10+
- Safari 7+