TextInput
For letting the user input text.
Types
TextInputProps
interface TextInputProps {Disabled: boolean?--
Whether the text input is disabled.
CharacterLimit: number?--
The maximum number of characters allowed in the text input.
PlaceholderText: string?--
The placeholder text displayed when the input is empty.
Text: string?--
The current text in the text input.
ClearTextOnFocus: boolean?--
Whether the text should be cleared when the input gains focus.
TextWrapped: boolean?--
Whether the text should wrap within the input.
TextEditable: boolean?--
Whether the text input is editable.
MultiLine: boolean?--
Whether the text input supports multiple lines.
TextSize: number?--
The size of the text.
TextXAlignment: Enum.TextXAlignment?--
The horizontal alignment of the text.
TextYAlignment: Enum.TextYAlignment?--
The vertical alignment of the text.
TextTransparency: number?--
The transparency of the text.
TextProcessor: (string) → string?--
A function to process the text input, and return new text.
Focusing: boolean?--
Whether the text input is currently focused.
Hovering: boolean?--
Whether the mouse is hovering over the text input.
OnFocus: () → ()?--
A callback function triggered when the text input gains focus.
OnFocusEnd: () → ()?--
A callback function triggered when the text input loses focus.
}