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

Issue 14304 - Improve check for selecting option template in Dropdown #14382

Merged
merged 2 commits into from
Jan 24, 2024

Conversation

tsinevik
Copy link
Contributor

Defect Fixes

Fix #14304

Use isOptionGroup method when selecting template to render option. Otherwise options may be rendered empty if they have group property, but Dropdown component has [group]="false". It is the same logic as in MultiSelect and Autocomplete components.

Copy link

vercel bot commented Dec 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
primeng ⬜️ Ignored (Inspect) Visit Preview Jan 9, 2024 8:35am

@tsinevik
Copy link
Contributor Author

tsinevik commented Jan 5, 2024

@cetincakiroglu hi, I would really appreciate if you could check out this PR and provide some feedback if there's something wrong with it. We can't update to the Angular 17 for over a month because of that issue and we really don't won't to refactor part of the app only for dropdown to remain the same behavior on a new version.

@cetincakiroglu cetincakiroglu merged commit 56bdef0 into primefaces:master Jan 24, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dropdown: option is empty when it has group property and dropdown has [group]="false"
3 participants