Skip to content

Commit

Permalink
Fix primefaces#5976: MenuBar unique key per item
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Feb 15, 2024
1 parent 25cdec3 commit b0973d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/menubar/MenubarSub.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export const MenubarSub = React.memo(
const menuitemProps = mergeProps(
{
id,
key: id,
key: dataId,
'data-id': dataId,
role: 'menuitem',
'aria-label': item.label,
Expand Down

0 comments on commit b0973d3

Please sign in to comment.