From a32bee4284d245c966d7332e36b826043eec086a Mon Sep 17 00:00:00 2001 From: mertsincan Date: Tue, 20 Aug 2019 15:59:47 +0300 Subject: [PATCH] Fixed #8059 - the fill state is not changing on dropdown with keyboard --- src/app/components/dropdown/dropdown.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/dropdown/dropdown.ts b/src/app/components/dropdown/dropdown.ts index 847e8d5709d..f54ffe007fb 100644 --- a/src/app/components/dropdown/dropdown.ts +++ b/src/app/components/dropdown/dropdown.ts @@ -406,7 +406,6 @@ export class Dropdown implements OnInit,AfterViewInit,AfterContentInit,AfterView if (!option.disabled) { this.selectItem(event, option); this.focusViewChild.nativeElement.focus(); - this.filled = true; } setTimeout(() => { @@ -418,6 +417,7 @@ export class Dropdown implements OnInit,AfterViewInit,AfterContentInit,AfterView if (this.selectedOption != option) { this.selectedOption = option; this.value = option.value; + this.filled = true; this.onModelChange(this.value); this.updateEditableLabel();