I am trying to make multiselect with a filter. I need to clear the filter after filtering (not the selecting). I used prime ng multiselect and it does not have property to address this requirement.
below is my code.
<p-multiSelect
[options]="subjectTitles"
[showToggleAll]="false"
[(ngModel)]="selectedTitle
[ngModelOptions]="{ standalone: true }"
optionLabel="title"
defaultLabel="Select title"
[filter]="true
[itemSize]="30"
filterPlaceHolder="Search title"
#select="ngModel"
required
(onPanelHide)="panelClosed = true"
class="multiselect-custom-virtual-scroll" >
</p-multiSelect>`
Can I know if anyone has a solution for this?