Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The ngModel directive can't set an item of dropdown in version 16.7.0 #14023

Closed
ailtonbsj opened this issue Nov 3, 2023 · 1 comment
Closed
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@ailtonbsj
Copy link

ailtonbsj commented Nov 3, 2023

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.

issue
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.

@ailtonbsj ailtonbsj added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 3, 2023
@cetincakiroglu cetincakiroglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 6, 2023
@cetincakiroglu cetincakiroglu self-assigned this Nov 6, 2023
@cetincakiroglu cetincakiroglu added this to the 16.8.0 milestone Nov 6, 2023
@cetincakiroglu
Copy link
Contributor

Hi,

With version 16.7.0, we have released the first part of the accessibility implementation for inputs that we have been working on for a long time. Based on the research we conducted during the implementation, we decided that many components needed changes in their structure and simplification, and these components were rewritten. Unfortunately, after extensive testing, there may be unexpected and unforeseen bugs that have emerged. We are grateful for your reports, and we are working to address them in the upcoming release!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants