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
We are still seeing this while upgrading to PR 9.2.2. This can also be seen in the PrimeReact demo page for the TieredMenu component. Source appears to be a typo where "item" was referenced rather than "item.id" when the li element is being created.
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
Apr 14, 2023
Thanks @azhigalov you are right. PR submitted I looked at other menu's and that is what they do so this was just a mistake.
melloware
changed the title
[React] Menu items in TieredMenu are assigned with id attribute with a value of [object Object]
TieredMenu: Menu items in are assigned with id attribute with a value of [object Object]
Apr 14, 2023
Describe the bug
As per menu-item on the png, code snippet for menu items that is implemented is:
Also maybe worth attaching involed template functions:
Reproducer
No response
PrimeReact version
6.5.0
React version
17.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
It shouldn't automatically add [object Object] id attribute
The text was updated successfully, but these errors were encountered: