Skip to main content

AutoComplete

The AutoComplete component provides a text input with a list of options that can be selected. By default, the results are filtered based on the text entered into the input and display as the user enters text.

Result
Loading...
Live Editor

With sections

Result
Loading...
Live Editor

Controlled component

Result
Loading...
Live Editor

Analytics

The AutoComplete component is trackable through Kyber Analytics. This is the default analytics config.

export default {
value: 'AutoComplete',
actions: {
onChange: { type: 'AUTOCOMPLETE_CHANGE', payload: 'Change' },
onSelectionChange: { type: 'AUTOCOMPLETE_SELECTION_CHANGE', payload: 'Change' },
},
};

Props