ElementsControls
AddTextArea
Adds a multi-line text input.
AddTextArea
What it does
Adds a multi-line text input.
When to use it
Use it for notes, scripts, messages, JSON, or any value too long for a one-line textbox.
ElementFunction:AddTextArea(AreaConfig)
LeftGroup:AddTextArea({
Name = "Input Textarea",
Content = "Multi-line command or notes input.",
Default = "",
Placeholder = "Enter Text...",
Height = 120,
Moveable = true,
Callback = function(value)
print("textarea", value)
end
})Behavior and return value
Call this method on the compatible section, tab, panel, or element container shown by the signature. Store the returned value when you need to update, read, or destroy the element later.
Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.