From 49aa62c9ae7ef90b90cd39bdda2a09ec85ebfd7f Mon Sep 17 00:00:00 2001 From: Akshay Antony Date: Tue, 9 Jan 2024 01:17:44 +0530 Subject: [PATCH] fix: #14503, p-dropdown: selecting an option or clearing the value should clear the filter input --- src/app/components/dropdown/dropdown.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/components/dropdown/dropdown.ts b/src/app/components/dropdown/dropdown.ts index 4272b70091d..ac6a132ad21 100755 --- a/src/app/components/dropdown/dropdown.ts +++ b/src/app/components/dropdown/dropdown.ts @@ -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(); } }