Oct 05 2022 10:31 PM - edited Jul 23 2023 09:11 PM
const pickerSuggestionsProps = { suggestionsHeaderText: "suggestedResults", noResultsFoundText:"resultsNotfound", isResultsFooterVisible : true, resultsFooter: () => <div>Hello world</div> }
<TagPicker
removeButtonAriaLabel="Remove"
selectionAriaLabel="Selected Lookups"
onResolveSuggestions={filterSuggestedTags}
getTextFromItem={getTextFromItem}
pickerSuggestionsProps={pickerSuggestionsProps}
itemLimit={1}
inputProps={{
id: "id",
}}
onEmptyInputFocus={(tagList) => onEmptyInputFocus('', tagList, testTags)}
defaultSelectedItems={selectedItems}
onChange={onTagsChange}
selectedItems = {selectedItems}
onItemSelected={onItemSelected}
onRenderSuggestionsItem={onRenderSuggestionsItem}
/>