React-Autocomplete without the tears
npm install @dccs/react-autocomplete-mui@material-ui/lab@4.0.0-alpha.39!!
javascript
options={[{id:1, name:"Test 1"}, {id:2, name:"Test 2"}]}
keyProp={o => o.id}
textProp={o => o.name}
onChange={(e, v) => setValue(v)}
/>
/>
`
Controlled Autocomplete with options loaded async
`javascript
variant="async"
value={value}
onChange={(e, v) => setValue(v)}
onLoadOptions={(query) => api.queryCountries(query)}
keyToOption={(key) => api.getCountry(key)}
keyProp={(o) => o.name}
textProp={(o) => o.name}
/>
``