Skip to content

Commit

Permalink
Merge pull request #17116 from mark7p/fix-v18/#17110-editable-dropdow…
Browse files Browse the repository at this point in the history
…n-placeholder-bug

Fix: V18 Editable Dropdown(#17110) Placeholder bug
  • Loading branch information
mehmetcetin01140 authored Dec 25, 2024
2 parents eb3bb93 + 22cdc2f commit f23520b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/primeng/src/select/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1510,7 +1510,7 @@ export class Select extends BaseComponent implements OnInit, AfterViewInit, Afte
!matched && this.focusedOptionIndex.set(-1);

this.onModelChange(value);
this.updateModel(value, event);
this.updateModel(value || null, event);
setTimeout(() => {
this.onChange.emit({ originalEvent: event, value: value });
}, 1);
Expand Down

0 comments on commit f23520b

Please sign in to comment.