# Combo Box

## Properties

These are the properties of Combo Box, you can both read and write them

***

```lua
combobox.Title = "My Combo Box"
combobox.Description = "This is my Combo Box"
combobox.Enabled = true
combobox.Options = {"1", "2"}
combobox.Selected = "1" -- First by default
combobox.LayoutOrder = 1 -- if not given its in order of time added
```

***

## Methods

These are the methods of Combo Box

***

### Remove

```lua
comboBox:Remove()
```

* Removes the Combo Box from the page

***

## Events

These are the events of Combo Box

***

### On Selection Changed

```lua
combobox.OnChanged = event:Connect(function(v: string)
    print(v)
end)
```

* Fires when the Combo Box selection has changed


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://riky47s-organization.gitbook.io/arceus-x/extensions/ui-library/page/combo-box.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
