Since menu-item is actually the list-item, it should have support for disabled state, an input that's attached to the list-item and provide according style.
Current Behavior
Menu item does not support a disabled input.
Possible Solution
disabled property should be added as input to MenuItemComponent and set to false by default.
Steps to Reproduce (for bugs)
Create a md-menu.
Add menu items.
Try to disable any of the menu items.
Context
Trying to dynamically disable the menu's items was not possible without adding local changes.
Your Environment
Library: Angular
Version used: 19.4.5
Browser Name and version: Chrome Version 80.0.3987.149 (Official Build) (64-bit)
Issue Type
Feature Request
Component or Pattern Affected
Menu item
Expected Behavior
Since menu-item is actually the list-item, it should have support for disabled state, an input that's attached to the list-item and provide according style.
Current Behavior
Menu item does not support a disabled input.
Possible Solution
disabled
property should be added as input toMenuItemComponent
and set to false by default.Steps to Reproduce (for bugs)
md-menu
.Context
Trying to dynamically disable the menu's items was not possible without adding local changes.
Your Environment