Primeng multiSelect filter text need to clear on 'onPanelHide' event
Asked
Active
Viewed 2,845 times
1
-
1Welcome to Stack Overflow! Please provide more information on what to accomplish, what you already tried and where you failed. This will improve your chances to get an answer to your question. Here you will find more information on [ask] a question. – Mathias Apr 09 '19 at 14:59
1 Answers
1
The documentation specifies to use the callback onPanelHide
https://www.primefaces.org/primeng/#/multiselect
<p-multiSelect (onPanelHide)="handlePanelHide()" [options]="cities1" [(ngModel)]="selectedCities1"></p-multiSelect>
Then in your component you will perform your logic to do the filtering
public handlePanelHide(): void {
// Filter the options with your custom logic
}

jriver27
- 852
- 5
- 19