aurelia-materialize-bridge icon indicating copy to clipboard operation
aurelia-materialize-bridge copied to clipboard

<md-checkbox> indeterminate state cannot be applied after the element is attached

Open SvetlozarValchev opened this issue 4 years ago • 0 comments

It seems that the checkbox's indeterminate state (which corresponds to value=null) is not available once the element is attached. You can initially set it to indeterminate, but you cannot set to indeterminate state with value changes. From the code here, you can see that the value is checked only on attached, and it cannot be set to indeterminate on subsequent value changes: https://github.com/aurelia-ui-toolkits/aurelia-materialize-bridge/blob/2fa331315f8d3bd26b826c0a350f0fd58c94bd31/src/checkbox/checkbox.ts#L54-L58

SvetlozarValchev avatar Mar 23 '20 18:03 SvetlozarValchev