Open EduVencovsky opened 4 years ago
@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?
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
It would be good to have a easy way to disable a MatTab by just passing a prop.