Skip to content

Commit

Permalink
Merge pull request #14628 from primefaces/issue-14556
Browse files Browse the repository at this point in the history
Fixed #14556 - Dropdown | Unable to type in editable Dropdowns when f…
  • Loading branch information
cetincakiroglu authored Feb 1, 2024
2 parents 8e9eef3 + d5eaae0 commit 8501691
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/components/dropdown/dropdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,9 @@ export class Dropdown implements OnInit, AfterViewInit, AfterContentInit, AfterV

this.onModelChange(value);
this.updateModel(value, event);
this.onChange.emit({ originalEvent: event, value: value });
setTimeout(() => {
this.onChange.emit({ originalEvent: event, value: value });
});

!this.overlayVisible && ObjectUtils.isNotEmpty(value) && this.show();
}
Expand Down

0 comments on commit 8501691

Please sign in to comment.