Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
README.md
screenshot.png
text-field.css
text-field.html
text-field.js
text-field.meta

README.md

TextField

TextField

The TextField component wraps an HTML <input type="text"> element.

How to use

"textField": {
    "prototype": "digit/ui/text-field.reel",
    "properties": {
        "element": {"#": "textField"}
    }
}
<input data-montage-id="textField" type="text">

Available properties

  • 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.

Customizing with CSS

  • .digit-TextField - The TextField element
.digit-TextField {
    border-color: blue;
}

Browser support

  • Chrome (latest)
  • Firefox (latest)
  • Opera (latest)
  • IE 10+
  • Safari 7+