How do i implement autocomplete in a component?

后端 未结 3 1562
甜味超标
甜味超标 2020-12-16 00:37

I would like to combine the autocomplete feature with a multiselect mat-select chooser because the optionslist will be quite long.

I\'ve already searched on stackove

3条回答
  •  再見小時候
    2020-12-16 01:18

    Yes you can use PrimeNG multiselect control. Only issue with that is if you are worried about themes.

    There is another option using mat-select-autocomplet

    How to install:

    npm install select-autocomplete --save
    

    npm: https://www.npmjs.com/package/mat-select-autocomplete

    Demo: https://stackblitz.com/edit/mat-select-autocomplete

提交回复
热议问题