Dropdown | autoDisplayFirst not update value of dropdown #10768
Labels
LTS-FIXED-10.1.5
Fixed in PrimeNG LTS 10.1.5
LTS-FIXED-11.4.8
Fixed in PrimeNG LTS 11.4.8
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
app.component.html:
app.component.ts
PS I couldn't create the StackBlitz because some errors occurs on the console and the application keeps stuck loading forever with the initial template:
https://stackblitz.com/github/primefaces/primeng-issue-template
Current behavior
The first option is not selected after clicking on it.
This only happens when there's no
placeholder
attribute present.Options other than the first one can be selected without problems.
Expected behavior
First option should be selected after clicking on it.
Minimal reproduction of the problem with instructions
Open the page and click on the first option of the dropdown.
Please tell us about your environment:
Operating syste: Windows 10
IDE: IntelliJ
HTTP server: Angular live server
Angular version: 12.2.11
PrimeNG version: 12.2.1
Browser: *
Microsoft Edge Version 90.0.818.41 (Official build) (64-bit)
Google Chrome Version 72.0.3626.81 (Official Build) (64-bit)
Language: TypeScript 4.3.2
Node (for AoT issues):
node --version
= v14.15.4The text was updated successfully, but these errors were encountered: