Repository URL to install this package:
|
Version:
8.1.0-rc.5 ▾
|
Autocomplete example:
<AutoSelect items={[{ id: 'Italy', label: 'Italy', key: '1' }, { id: 'Germany', label: 'Germany', key: '2' }, { id: 'Spain', label: 'Spain', key: '3' },{ id: 'France', label: 'France', key: '4' }, { id: 'Portugal', label: 'Portugal', key: '5' }, { id: 'Switzerland', label: 'Switzerland', key: '6' }, { id: 'Poland', label: 'Poland', key:'7' }]} placeholder="Select country" value="" label="My label" />
<AutoSelect items={[{ id: 'Italy', label: 'Italy', key: '1' },{ id: 'Poland', label: 'Poland', key:'7' }]} placeholder="Select country" value="" label="Autocomplete with an error" valid={false} errorMessage="Please select value from the options" />