textbox

Let's you create a new textbox within a section

local combat = window:Page({Name = "Combat", Icon = "rbxassetid://0"});
local main_combat = combat:Section({Name = "Main", Side = "Left", Size = 100});

local color_picker = main_combat:Textbox({
    Name = "Textbox",
    Flag = "Textbox",
    
    Placeholder = "I'm a placeholder",
    Default = "",

    EnterPressed = true, -- only calls the callback when enter is pressed    
    Callback = function(text)
        print(text)
    end
})

Last updated