Input
Creating Input and Editing it
Creating Input
local Input = Tab:Input({
Title = "Input",
Desc = "Input Description",
Value = "Default value",
InputIcon = "bird",
Type = "Input", -- or "Textarea"
Placeholder = "Enter text...",
Callback = function(input)
print("text entered: " .. input)
end
})
Set Title
Input:SetTitle("Title Example")
Set Description
Input:SetDesc("Description Example")
Set Input value
Input:Set("New value")
Set Input Placeholder
Input:SetPlaceholder("New Placeholder")
Lock Element
Input:Lock()
Unlock Element
Input:Unlock()
Destroy Element
Input:Destroy()