The ngModel directive can't set an item of dropdown in version 16.7.0 #14023
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
If the p-dropdown component was set with ngModel when value will be changed, it don't affect state of this component. If you downgrade to 16.6.0 start to work well.
Tested here
Environment
Using Xubuntu 22.04 LTS with Visual Code.
Using node, npm and angular-cli.
Reproducer
https://stackblitz.com/edit/github-3qqjb4?file=src%2Fapp%2Fapp.component.ts
Angular version
16.2.12
PrimeNG version
16.7.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.8.1
Browser(s)
All
Steps to reproduce the behavior
Just click the buttons on example.
Expected behavior
It expected change the dropdown automatically when clicked on buttons.
It expected the have the same behavior of 16.6.0.
The text was updated successfully, but these errors were encountered: