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

Dropdown: empty string not a valid option value (16 lts) #15875

Closed
itx-niklas-baugatz opened this issue Jun 21, 2024 · 1 comment
Closed

Dropdown: empty string not a valid option value (16 lts) #15875

itx-niklas-baugatz opened this issue Jun 21, 2024 · 1 comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@itx-niklas-baugatz
Copy link

Describe the bug

I updated from primeng 11 to 16 lts and the option value "" or empty string is no longer working. The item is selected, but the label does not show a selection. This was possible in v11.

The selection is even selected in the dropdown.

Environment

stackblitz, angular 16, primeng 16 lts

Reproducer

https://stackblitz.com/~/github.com/itx-niklas-baugatz/primengdropdownemptystring?file=src/app/app.component.ts

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

The dropdown should show the selected label. It is marked in the dropdown box as selected

@itx-niklas-baugatz itx-niklas-baugatz added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jun 21, 2024
@mertsincan
Copy link
Member

Hi,

So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you open a new issue so we can include it in our roadmap?

Thanks a lot for your understanding!
Best Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

2 participants