1

Primeng multiSelect filter text need to clear on 'onPanelHide' event

Anish Vincent
  • 33
  • 1
  • 4
  • 1
    Welcome 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 Answers1

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