WindUI

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")

Lock Element

Input:Lock()

Unlock Element

Input:Unlock()

Destroy Element

Input:Destroy()

API

Input Options

PropTypeDefault
Callback?
function
nil
Locked?
boolean
false
InputIcon?
string
nil
Type?
string
Input
Placeholder
string
nil
Value?
string
nil
Desc?
string
nil
Title
string
Input

On this page