Uh oh!
There was an error while loading. Please reload this page.
Allow children in Checklist options - #105
Conversation
chriddyp
commented
Nov 2, 2017
Thanks @Akronix ! I think that this is out of the scope for this core checkbox component - I'd like to keep the options as simple possible and this feels like a more specialized UI that would be better suited in a fork (something like Another note - once something like plotly/dash-renderer#26 is added, this behaviour will be able to be specified with something like: In other words, we'll be able to allow the user to supply any component as the |
Akronix
commented
Nov 2, 2017
Wow, plotly/dash-renderer#26 looks very promising! |
I'm developing a webapp which needs to have checkboxes that contain another (Dash's) React
component, so I've modified the Checklist component to allow to include options with children components, as well as a button to show/hide those children.
Here is a short "demo":

This is a first approach, so take it as a prototype. We can work on it and improve it until it reaches a production-ready code and then we can squash all commits and merge with master.