material-web
material-web copied to clipboard
fix: formDisabledCallback and <fieldset> disabled attribute
Fixes #5049 where the control disabled
property itself is changed which would cause issues for fieldset
.
This commit need to be merged along with #5563. I am sorry I am not familiar with the process of one PR depends on the other. In that commit, the render/UI/behavior make use of :disabled
instead of the disabled
property only, therefore the behavior should matches with native elements:
https://github.com/material-components/material-web/assets/6388546/7ca89b96-1d7e-4bd8-8dfc-1d901904fadc