Open SvetlozarValchev opened 4 years ago
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
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