Skip to content

Commit

Permalink
Fixed primefaces#8059 - the fill state is not changing on dropdown wi…
Browse files Browse the repository at this point in the history
…th keyboard
  • Loading branch information
mertsincan authored and JacobSiegle committed Oct 2, 2019
1 parent 470b045 commit a32bee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/dropdown/dropdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand All @@ -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();
Expand Down

0 comments on commit a32bee4

Please sign in to comment.