Skip to content

Commit

Permalink
Merge pull request #14331 from primefaces/issue-14241
Browse files Browse the repository at this point in the history
Fixed #14241 - Dropdown | Preselected value not shown when using reac…
  • Loading branch information
cetincakiroglu authored Dec 12, 2023
2 parents 90ef8ac + 1f36d17 commit 660ddee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 122 deletions.
122 changes: 0 additions & 122 deletions angular.json

This file was deleted.

1 change: 1 addition & 0 deletions src/app/components/dropdown/dropdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -933,6 +933,7 @@ export class Dropdown implements OnInit, AfterViewInit, AfterContentInit, AfterV

if (visibleOptions && ObjectUtils.isNotEmpty(visibleOptions)) {
this.selectedOption = visibleOptions[this.findSelectedOptionIndex()];
this.cd.markForCheck();
}
});
}
Expand Down

0 comments on commit 660ddee

Please sign in to comment.