XLQP Gen1
ElementsControls

AddDropdown

Adds a single- or multi-select dropdown, with optional search and player-aware modes.

AddDropdown

What it does

Adds a single- or multi-select dropdown, with optional search and player-aware modes.

When to use it

Use it when users must choose from a list without keeping every choice visible on the page.

ElementFunction:AddDropdown(DropdownConfig)

RightQuickMenu:AddDropdown({
    Name = "Theme",
    Options = {"Verbal Ember", "Default", "Dark", "Light", "Mocha", "Aqua", "Rose", "DeepBlack"},
    Default = "Verbal Ember",
    Search = true,
    MaxElements = 5,
    Callback = function(value)
        Library:SetTheme(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.