Skip to content

Commit

Permalink
fix: primefaces#14503, p-dropdown: selecting an option or clearing th…
Browse files Browse the repository at this point in the history
…e value should clear the filter input
  • Loading branch information
akshayantony55 committed Jan 8, 2024
1 parent ec65185 commit 49aa62c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/components/dropdown/dropdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1737,6 +1737,7 @@ export class Dropdown implements OnInit, AfterViewInit, AfterContentInit, AfterV
this.updateEditableLabel();
this.onChange.emit({ originalEvent: event, value: this.value });
this.onClear.emit(event);
this.resetFilter();
}
}

Expand Down

0 comments on commit 49aa62c

Please sign in to comment.