This type represents a text input control.
This type inherits Control type. All of its base methods and fields are also available in this type.
Control
Constructor
Constructs the text input.
Arguments
Name
Type
Description
id
ControlID|string
ControlID
|string
ID.
Returns
TextInput
Text input instance.
Example
local sp = gui.text_input(id);
Field
Type: string
string
Placeholder text.
FieldRead only
Value.
Method
Sets the new text.
str
New value.
Nothing.
Last updated 17 days ago
input:SetValue('Hello!');