[**Documentation**](../../../../README)

***

[Documentation](../../../../README) / [@zerotal/flow](../../README) / [index](../README) / Combobox

# Function: Combobox()

> **Combobox**(`props`): [`HtmlNode`](../type-aliases/HtmlNode)

Defined in: [flow/src/headless.ts:637](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/flow/src/headless.ts#L637)

An autocomplete: a text input plus a filtered option list bound to an `@expose` value.
Client mode (default) filters locally; passing `query={this.search}` switches to server-side
filtering, where the input uses `flow:model.live` and the server re-renders matches per
keystroke. States: `data-[active]`, `data-[selected]`.

## Parameters

### props

[`ComboboxProps`](../interfaces/ComboboxProps)

## Returns

[`HtmlNode`](../type-aliases/HtmlNode)

## Example

```tsx
<Combobox bind={this.assignee} options={people} />                 // client filter
<Combobox bind={this.cityId} query={this.search} options={hits} /> // server filter
```
