Example of Grouping and Icons in React AutoComplete Component


This sample demonstrates the grouping and icons supports of the AutoComplete. Type a character in the autocomplete element and choose an item from the categorized list/icons list. And also enabled the showPopupButton property to show the all suggestion items while clicking on popup button.

More Details...


The AutoComplete allows to group the relevant items under a corresponding category by mapping the groupBy field, and allows to load the list items with icons.

The grouping sample illustrates how the vegetables are grouped based on its category.

The 2nd AutoComplete is populated with icons which is rendered by mapping the iconCss field.

More information on the grouping feature configuration can be found in the documentation section.