I am new to PrimeNg and I wish to use PrimeNg dropdown and customize its filter function. The filter search bar is from [filter]="true" and the default filter function is from filterMatchMode which is getting all the data from the api first then only filter the data but now I wish to filter the data from backend first then only use api to get the filtered result to frontend only to minimize the compile time. I had tried to use p-template to customize the search bar and dropdown, but it will appear a list of search bars since there has only selectedItem and item template to use. Is there any way on this? Thank you in advance.
Asked
Active
Viewed 119 times