From a6fcece4e005ff99765c5be6061facbe8295d112 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20=C3=87etin?= <92744169+mehmetcetin01140@users.noreply.github.com> Date: Thu, 8 Feb 2024 14:11:00 +0300 Subject: [PATCH] Fixed #14753 - Dropdown | Selected option is not displaying correctly --- src/app/components/dropdown/dropdown.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/components/dropdown/dropdown.ts b/src/app/components/dropdown/dropdown.ts index 54c58442874..2b8c1a70017 100755 --- a/src/app/components/dropdown/dropdown.ts +++ b/src/app/components/dropdown/dropdown.ts @@ -1093,7 +1093,9 @@ export class Dropdown implements OnInit, AfterViewInit, AfterContentInit, AfterV this.updateModel(value, event); this.focusedOptionIndex.set(this.findSelectedOptionIndex()); isHide && setTimeout(() => this.hide(true), 1); - preventChange === false && this.onChange.emit({ originalEvent: event, value: value }); + setTimeout(() => { + preventChange === false && this.onChange.emit({ originalEvent: event, value: value }); + }); } onOptionMouseEnter(event, index) {