-
Notifications
You must be signed in to change notification settings - Fork 892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use formDisabledCallback to support <fieldset> disabled attribute #5049
Comments
We need to add
This would be a good community PR, want to take a stab at it? |
Sure I can do that :) |
This is fixed now in 1.1 :) |
I not sure this is just a workaround or completely fix. The behavior is wrong due to, #5053 (comment). The component should not set |
Interesting! After investigating, I believe the problem is that setting our own Instead, we need to handle an internal disabled state and a client-facing |
What is affected?
Component
Description
See: https://jsfiddle.net/datvm/zdpeqc5j/1/
For standard components, when an acestor
<fieldset>
has[disabled=true]
, they are disabled as well. I think this behavior is not discussed yet so it's probably not a bug? Would you consider adding this feature?Note: the screenshot above misses
<md-select>
.Reproduction
https://jsfiddle.net/datvm/zdpeqc5j/1/
Workaround
You have to manually set
disabled
to each component in thefieldset
.Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
1.0.0
Browser/OS/Node environment
The text was updated successfully, but these errors were encountered: