Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

combobox

v4.15.0arrow_drop_down
v4.15.0
STATUS
Passing
DOWNLOADS
63
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
A year ago
SIZE
N/A
The Combobox component is used for selecting an option from a predefined list of options. It is similar to a Select or SelectMenu component. Clicking the button will show all items. Typing in the text input will filter the list.
1 contributor
Install combobox as a package?
Copied
npm i @bit/segmentio.evergreen.combobox
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
modifieddraft
modifieddraft
modifieddraft
modifieddraft
chevron_left
chevron_right

Implements some APIs from ui-box.

The options to show in the menu.

The selected item when controlled.

Function called when value changes.

When true, open the autocomplete on focus.

Default selected item when uncontrolled.

The placeholder text when there is no value present.

In case the array of items is not an array of strings, this function is used on each item to return the string that will be shown on the filter

Properties forwarded to the input. Use with caution.

Properties forwarded to the button. Use with caution.

Properties forwarded to the autocomplete component. Use with caution.

Makes the input element disabled.

When true, show a loading spinner. This also disables the button.