:Combo

type Combo = {
	Label: string?,
	Placeholder: string?,
	Callback: ((Combo, Value: any) -> any)?,
	Items: {[number?]: any}?,
	GetItems: (() -> table)?
}

Example usage:

--// Array
:Combo({
	Label = "Combo",
	Selected = "AAAA",
	Items = {
		"AAAA", 
		"BBBB", 
		"CCCC"
	}
})

--// Dict
:Combo({
	Label = "Combo",
	Selected = "Apple",
	Items = {
		Apple = "AAA",
		Banana = "BBB",
		Orange = "CCC",
	},
})

--// Function
:Combo({
	Label = "Combo",
	Selected = "aaa",
	GetItems = function()
		return {
			"aaa",
			"bbb",
			"ccc",
		}
	end,
})

Theme colors:

Tag
Affects

FrameBg

Background color

FrameBgTransparency

Background transparency

Text

Text color

TextFont

Text font

TextSize

Text font size

ButtonsBg

Background color of arrow button

Last updated