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: null and empty string value #7081

Closed
mtsh1000 opened this issue Aug 24, 2024 · 1 comment · Fixed by #7083
Closed

Dropdown: null and empty string value #7081

mtsh1000 opened this issue Aug 24, 2024 · 1 comment · Fixed by #7083
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@mtsh1000
Copy link

Describe the bug

Dropdown select returns whole item object when value is null or empty string. Strangely it behaves correctly when val === false or 0

Reproducer

https://stackblitz.com/edit/4db3vn?file=src%2FApp.jsx

System Information

primereact 10.8.2

Steps to reproduce the behavior

No response

Expected behavior

No response

@mtsh1000 mtsh1000 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Aug 24, 2024
@melloware
Copy link
Member

Duplicate of #7064

@melloware melloware marked this as a duplicate of #7064 Aug 24, 2024
@melloware melloware added Type: Bug Issue contains a defect related to a specific component. and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Aug 24, 2024
@melloware melloware added this to the 10.8.3 milestone Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants