Hi there, I am trying to have a checkbox label with two distinct parts; one part that is coloured, and one part that is not.
What I am trying to achieve is similar to below
o -----normal text
(Imagine that line is red, apparently coloured text is not allowed on these forums.)
Is there a way to do this? I originally thought I may be able to construct a div with two paragraphs but that only left me with an Invalid argument options[0].label
passed into Checklist error.
What I tried was something along the lines of:
'label': html.div([html.P('----', style={'color': '#ff0500'}), html.P(str(random()))])