Docs (4.0.0)
Controls

class UITextField

A view class that represents a text field control.

class UITextField
extends UIComponent

Description

A text field component is rendered on-screen as a single-line (default) or multi-line input field.

Constructor

Type Members

Instance Members

  • applyViewPreset(preset)Applies the provided preset properties to this object.
  • valueThe current input value.
  • placeholderThe text field placeholder text.
  • multilineTrue if multiline input mode should be enabled.
  • formFieldForm context field name, used with UIFormContext.
  • typeThe input field type, defaults to text.
  • enterKeyHintAn optional type that determines the text to be displayed on touch screen ‘enter’ keys, where supported.
  • disableSpellCheckTrue if spell and/or grammar checks should be disabled, where supported.
  • formContextThe nearest containing form context.
  • disabledTrue if user input should be disabled on this control.
  • readOnlyTrue if the text field should appear like a label.
  • widthTarget width of the text field, in pixels or CSS length with unit.
  • styleThe style to be applied to the text field.

Inherited Members