Skip to main content
zerotal

Documentation


Documentation / @zerotal/flow / index / Combobox

Function: Combobox()

Combobox(props): HtmlNode

Defined in: flow/src/headless.ts:637

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

Returns

HtmlNode

Example

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