MatBlazor icon indicating copy to clipboard operation
MatBlazor copied to clipboard

Add Disabled property in MatTab

Open EduVencovsky opened this issue 5 years ago • 2 comments

It would be good to have a easy way to disable a MatTab by just passing a prop.

EduVencovsky avatar Mar 27 '20 18:03 EduVencovsky

@EduVencovsky There are plenty of examples of the Disabled property on other components to edit the css. It looks like you have contributed already so do you want to take on this small enhancement as well?

enkodellc avatar Apr 30 '20 22:04 enkodellc

I am not sure if this is even a supported feature in MatTab, see the MDCTabBar issue where they were discussing this :

"Currently, tabs should not (and was not built to be) disabled if unavailable. From the spec: "Disabled states cannot be inherited by: ... navigational components (such as app bars, tabs, bottom navigation and steppers)". However, we're in the process of revisiting and clarifying this with design."

url : https://github.com/material-components/material-components-web/issues/6386

sramaswami11 avatar Apr 08 '21 15:04 sramaswami11