Searching multiple value in Multiautocomplete

Posted by: ssuresh9 on 13 May 2019, 12:19 am EST

  • Posted 13 May 2019, 12:19 am EST - Updated 3 October 2022, 8:04 pm EST

    Consider this scenario: we have a user that wants to select multiple values in search by copying multiple values from Excel and pasting them into the search dialog, without having to type them. How could i get the values in multiautocomplete.

  • Posted 14 May 2019, 3:26 am EST

    Hi,

    You could use the itemsSourceFunction property of MultiAutoComplete to split the pasted data using the whitespace characters like space, tabs, etc, into multiple values and select all the values that match any one of the value. Please refer to the sample below:

    https://stackblitz.com/edit/js-tfk2hl?file=index.js

    ~sharad

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels