plotly / dash-component-boilerplate

Get started creating your own Dash components here.
265 stars 182 forks source link

Change all booleans to choices #125

Open xhluca opened 3 years ago

xhluca commented 3 years ago

Atm publish_on_npm and install_dependencies are booleans. However, I haven't had a great experience with booleans since we would need to check many cases (such as "true", "True", "t", "T") and can also be missed with typos.

I feel having a choice like:

Select publish_on_npm:
1 - True
2 - False
Choose from 1, 2 [1]:

although doesn't look as nice, would ensure that only one of the possible options are a chosen