> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mainly.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Select

> A dropdown control for selecting from a list of options.

```
Select(choices=[], placeholder="")
```

# Example

```python theme={null}
from mirmod.controls import Select

@wob.receiver("value", "input", control=Select(placeholder="Choose an option", choices=["a", "b", "c"]))
def receive_input(self, i):
  self.selected = i
```

<Note>The Select control always returns a string. If you need a different type, convert the value in your receiver function or during execution.</Note>

# Parameters

| Name        | Type   | Description                                        |
| ----------- | ------ | -------------------------------------------------- |
| choices     | list   | List of string options to display in the dropdown. |
| placeholder | string | Hint text displayed when no option is selected.    |
