Hierarchical Checkbox Component!

Finally got a rough version of my hierarchical checkbox component!

Next steps will be:

  1. Parent nodes will be automatically deselected if not all of the child nodes are selected [DONE]

  2. Parent nodes will be automatically selected if all of the child nodes are selected [DONE]

  3. Serialize to and from the database.

  4. Allow customers of different users to save their own specific version of the hierarchy, which things they are interested in, and which things they are not (checkbox is checked or not), without having permission to edit the hierarchy itself.

morefun

Original inspiration for the component came from here.

Here’s the clone of the app for interested people :slight_smile:
https://anvil.works/build#clone:7CH7XR6GAMNBMWP7=RXZ2I2BPSQQZJBOR45AQANTG

4 Likes