Class: TextInput

montage/ui/text-input. TextInput

new TextInput()

The base class for all text-based input components. You typically won't create instances of this prototype.
Source:
See:
  • {module:"montage/ui/input-date.reel".DateInput}
  • module:"montage/ui/input-text.reel".InputText
  • module:"montage/ui/input-number.reel".InputNumber
  • module:"montage/ui/input-range.reel".RangeInput
  • module:"montage/ui/textarea.reel".TextArea

Extends

  • module:montage/ui/component.Component

Members

_updateOnInput :boolean

Hard to imagine a text-input that is not using a input nor textarea
Type:
  • boolean
Default Value:
  • true
Source:

updateOnInput :boolean

When this property and the converter's allowPartialConversion are both true, as the user enters text in the input element each new character is added to the component's value property, which triggers the conversion. Depending on the type of input element being used, this behavior may not be desirable. For instance, you likely would not want to convert a date string as a user is entering it, only when they've completed their input. Specifies whether
Type:
  • boolean
Default Value:
  • true
Source: