MaibornWolff / mwui

Storybook (dev): https://maibornwolff.github.io/mwui-dev
https://maibornwolff.github.io/mwui
MIT License
7 stars 0 forks source link

[Feat] Add indeterminate checkbox for checkbox group #199

Open m-m-mic opened 1 year ago

m-m-mic commented 1 year ago

When we have a parent checkbox with children, the parent checkbox should display as indeterminate if not all children have the same state.

Example from IntelliJ:

image

m-m-mic commented 1 year ago

Implemented on branch, currently there's a bug when all checkboxes are selected and you deselect two and then click the parent checkbox again, one of the deselected checkboxes doesn't change appearance (but its value still gets properly added to the values array).

m-m-mic commented 12 months ago

Implemented on branch, currently there's a bug when all checkboxes are selected and you deselect two and then click the parent checkbox again, one of the deselected checkboxes doesn't change appearance (but its value still gets properly added to the values array).

Resolved issue, branch should now be ready for review.