Skip to content

Commit

Permalink
Fixed #14556 - Dropdown | Unable to type in editable Dropdowns when f…
Browse files Browse the repository at this point in the history
…iltering options onChange and current value is an option
  • Loading branch information
mehmetcetin01140 committed Jan 25, 2024
1 parent 239b86c commit d5eaae0
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 @@ -1211,7 +1211,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 d5eaae0

Please sign in to comment.