Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Prime-ng multiselect filter placeholder not displaying

I am using Prime ng multi select and setting the property filter as true and also adding filterPlaceholder property as below.

<p-multiSelect [options]="cities1" [(ngModel)]="selectedCities1" filter="true" 
filterPlaceHolder="Search..." defaultLabel="example" >
</p-multiSelect>

I am not getting filter place holder inside multi select. Please help.

like image 668
swathi Avatar asked Oct 18 '25 13:10

swathi


1 Answers

You need to write [filterPlaceholder]="'Search...'", by this you are passing Search... as a string in filterPlaceholder

like image 139
Noopur Dabhi Avatar answered Oct 21 '25 04:10

Noopur Dabhi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!