plotly / dash-daq

Control components for Dash
MIT License
141 stars 40 forks source link

The handleLabel prop of Slider component must have 'label' key #35

Closed Bachibouzouk closed 3 years ago

Bachibouzouk commented 5 years ago

The following results in component not rendering and many error messages in the console

dash_daq.Slider(
    id='a-slider',
    value=1,
    handleLabel={"showCurrentValue": True},
)

The current workaround is the following

dash_daq.Slider(
    id='a-slider',
    value=1,
    handleLabel={"showCurrentValue": True, "label": " "},
)

It makes sense that the user can choose to show the value without necessarily have a label.