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
[X ] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57
Current behavior
When setting the icon property for a menu entry the icon is only being rendered if the menu has subitems. That doesnt make real sense to me and should not be the excpected behavior. You can see the behavior in the codesandbox example for the "File" menu entry.
Expected behavior
Show the menu icon regardless whether the menu entry has childrens or not.
Minimal reproduction of the problem with instructions
Use PanelMenu Component and set the icon property while not setting the items property
Please tell us about your environment:
Tested with Unix/Windows environments
React version:
16.12.0
PrimeReact version:
3.3.3
Browser: [all]
Language: [all]
The text was updated successfully, but these errors were encountered:
I'm submitting a ... (check one with "x")
Codesandbox Case (Bug Reports)
https://codesandbox.io/s/primereact-test-vsh6z
Current behavior
When setting the icon property for a menu entry the icon is only being rendered if the menu has subitems. That doesnt make real sense to me and should not be the excpected behavior. You can see the behavior in the codesandbox example for the "File" menu entry.
Expected behavior
Show the menu icon regardless whether the menu entry has childrens or not.
Minimal reproduction of the problem with instructions
Use PanelMenu Component and set the icon property while not setting the items property
Please tell us about your environment:
Tested with Unix/Windows environments
React version:
16.12.0
PrimeReact version:
3.3.3
Browser: [all]
Language: [all]
The text was updated successfully, but these errors were encountered: