-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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: Missing optionLabel
property causes error
#6518
Closed
ewenjo opened this issue
Apr 30, 2024
· 3 comments
· Fixed by #6520, leoo1992/GeradorQRCode#27, leoo1992/GeradorQRCode#40 or mtech-31-quemistry/quemistry_client_web#3
Closed
Dropdown: Missing optionLabel
property causes error
#6518
ewenjo opened this issue
Apr 30, 2024
· 3 comments
· Fixed by #6520, leoo1992/GeradorQRCode#27, leoo1992/GeradorQRCode#40 or mtech-31-quemistry/quemistry_client_web#3
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
Comments
ewenjo
added
the
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
label
Apr 30, 2024
This was referenced Apr 30, 2024
PR submitted. |
melloware
added
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Apr 30, 2024
It's the same case for |
I tried it after PR, it works now. There is no need to make changes for |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Describe the bug
When creating a Dropdown comp without the
optionLabel
property, opening the dropdown causes the page to error. When in the past it would properly default to"label"
.This is especially a problem with
RowsPerPageDropdown
inPaginator
where you cannot simply add that prop.Reproducer
https://stackblitz.com/edit/vitejs-vite-sswemw?file=src%2FApp.tsx
PrimeReact version
10.6.4
React version
18.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
Dropdown
optionLabel
propExpected behavior
Not setting the
optionLabel
property should default to using"label"
.The text was updated successfully, but these errors were encountered: