I am trying to style radio buttons and came across this article on w3schools, which has this html code.
<label class="container">One
<input type="radio" name="radio">
<span class="checkmark"></span>
</label>
<label class="container">Two
<input type="radio" name="radio">
<span class="checkmark"></span>
</label>
<label class="container">Three
<input type="radio" name="radio">
<span class="checkmark"></span>
</label>
<label class="container">Four
<input type="radio" name="radio">
<span class="checkmark"></span>
</label>
and here’s the dash version i could come up with. the problem is, i couldn’t figure out where to put span.
dash_html.Label(children=[dash_core.RadioItems(id="radio_button_inputs",
options=[{'label': 'One','value': 'one'},
{'label': 'Two', 'value': 'two'},
{'label': 'Three', 'value': 'three'},
{'label': 'Four', 'value': 'four'}
],
value='all')],
className='container')