You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Jun 13, 2023
Describe the bug
If I pass label to home prop in Breadcrumbs component like this :
<BreadCrumb home={{ label: 'some label', }} />
label will be ignored https://github.com/primefaces/primereact/blob/master/components/lib/breadcrumb/BreadCrumb.js#L43.
Label works for model prop but not for home but they use the same type MenuItem
Reproducer
No response
PrimeReact version
9.5.0
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
home and model accept the same type (MenuItem) so they should work the same
The text was updated successfully, but these errors were encountered: