Dropdown: property autoDisplayFirst not working with async options (16 lts) #15868
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Describe the bug
If the options property is loaded async (with a BehaviorSubject), the [autoDisplayFirst]="true" property is not working.
The first value, is not selected. It only works, if the data is present on load.
Environment
Stackblitz, Angular 16 & Primeng 16 lts
Reproducer
https://stackblitz.com/~/github.com/itx-niklas-baugatz/primengdropdown
Angular version
16.2.12
PrimeNG version
16.9.11-lts
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.20.3
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
In earlier versions (i updated from 11) the first value got selected on load
The text was updated successfully, but these errors were encountered: