text_input
This type represents a text input control.
__call
Constructor
Constructs the text input.
Arguments
Name
Type
Description
Returns
Type
Description
text_input
Text input instance.
Example
local sp = gui.text_input(gui.control_id('my_id'));placeholder
Field
Type: string
Placeholder text.
value
FieldRead only
Type: string
Value.
set_value
Method
Sets the new text.
Arguments
Name
Type
Description
str
string
New value.
Returns
Nothing.
Example
Last updated