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: No longer shows options with simple primitive values #6591

Open
wrightdean opened this issue May 8, 2024 · 1 comment
Open

Dropdown: No longer shows options with simple primitive values #6591

wrightdean opened this issue May 8, 2024 · 1 comment
Labels
Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted
Milestone

Comments

@wrightdean
Copy link

Describe the bug

The Dropdown should be able to be supplied with a simple array of strings, and those strings be populated in the options list. This no longer works but was working in 10.6.3.

Reproducer

https://stackblitz.com/edit/71dwgk?file=src%2FApp.tsx

PrimeReact version

10.6.5

React version

18.x

Language

TypeScript

Build / Runtime

Next.js

Browser(s)

No response

Steps to reproduce the behavior

Click on Dropdown element. See that the list has been populated with the correct number of entries, but they are empty.

Expected behavior

The options list should list the options given in the simple string[].

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

Duplicate of #6578 fixed for next release.

@melloware melloware added Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels May 8, 2024
@melloware melloware added this to the 10.7.0 milestone May 8, 2024
@gucal gucal modified the milestones: 10.6.6, 10.7.0 May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted
Projects
None yet
Development

No branches or pull requests

3 participants