You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to configure the md-checkbox like the following:
If its disabled and I click it, it should be enabled.
If its enabled and I click it, it should be indeterminate
If its indeterminate and I click it, it should be disabled
I tried to write a click-function, that does exactly that:
In the toggle-function I access check.indeterminate, checked etc. and set the values. But of course these values are overwritten by the default behaviour of the check box.
How would you implement that?