We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Afaik right now something like this does not seem to work:
<md-switch md-disabled.bind="! configuring" md-checked.bind="eco"></md-switch>
The switch can only be set disabled initially with something like: md-disabled="! configuring"
Maybe something like this could work (in switch.js) to make this dynamic?
mdDisabledChanged(newValue) { if (this.checkbox) { this.checkbox.disabled = !!newValue; } }
The text was updated successfully, but these errors were encountered:
Yep, good catch! 👍 Will do that.
If you want, you can also issue a PR and I will merge it.
Sorry, something went wrong.
d961b15
Thank you @Thanood, great! sorry but i was submerged in work, no time to create the pr
No branches or pull requests
Afaik right now something like this does not seem to work:
<md-switch md-disabled.bind="! configuring" md-checked.bind="eco"></md-switch>
The switch can only be set disabled initially with something like: md-disabled="! configuring"
Maybe something like this could work (in switch.js) to make this dynamic?
mdDisabledChanged(newValue) { if (this.checkbox) { this.checkbox.disabled = !!newValue; } }
The text was updated successfully, but these errors were encountered: