Edit page

AutoComplete

Base on https://material-ui.com/components/autocomplete/#autocomplete

Related component

  • Input

Icon

Basic usage

import { AutoComplete } from '@doopage/react-ui-kit'
const Example = () =>
<AutoComplete
options={[
{ id: '1', name: 'The Shawshank Redemption' },
{ id: '2', name: 'The Godfather' },
]}
/>
export default Example;

Playground

Basic

Custom option item

Multiple

Control

Single Value: 3

Multiple Value: 1, 2

Allow add more item

Value: 1
Value: 1, 2

Custom chip color

Value: 1, 2

Search base on input

Properties