A component for displaying an autocomplete search with results.
This component renders a text input that allows searching over a set of items. The filtered results will appear beneath the input as a selectable list.
It can be configured with the function to be applied as the filter, as well as a formatting function for the description/tag of the item.
It is possible to format the result items in two different layouts: double line or single line. Showing an icon before the item is optional and there is support for custom icons per item. Check out the Ripple icon library
It emits an event when an item in the list is selected.
npm install @dpc-sdp/myvic-autocomplete --save
@dpc-sdp/myvic-autocomplete ├── @dpc-sdp/myvic-global
import AutoComplete from '@dpc-sdp/myvic-autocomplete'
Licensed under the Apache-2.0 License.