ContextMenu and Menubar doesn't render style or styleClass for MenuItems #3296
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
Please fork the plunkr below and create a case demonstrating your bug report. Issues without a plunkr have much less possibility to be reviewed.
http://plnkr.co/edit/endh8jqxFyZMhblrQ5zF?p=preview
Current behavior
I would like to set inline styles and style classes to the context menu items. When I try and set styles using the MenuItem model, they do not get rendered to the page.
Expected behavior
When style or styleClass are set on the MenuItem, those styles should be applied to the respective context menu item.
Minimal reproduction of the problem with instructions
See the Plunker example above. I would expect the menu item in the context menu to have the 'tallyho' class applied to it.
What is the motivation / use case for changing the behavior?
Custom styling for menu items is a great feature.
Please tell us about your environment:
Language: TypeScript 2.0.3
Node (for AoT issues):
node --version
=The text was updated successfully, but these errors were encountered: