This repository was archived by the owner on Jun 3, 2024. It is now read-only.
This repository was archived by the owner on Jun 3, 2024. It is now read-only.
RadioItems does not put option.value into the labels key attribute #161
Open
Description
dash-core-components==0.18.1
According to this, the label element should have a key
attribute containing option.value
https://github.com/plotly/dash-core-components/blob/master/src/components/RadioItems.react.js#L42
This is how it's actually rendered for me in Chrome and FF:
<div id="radio_y">
<label class="yo"> <!-- actual -->
<input type="radio" class="" value="on">
<!-- react-text: 7005 -->
mean_fit_time
<!-- /react-text -->
</label>
</div>
That's what I`d have expected:
<div id="radio_y">
<label class="yo" key="mean_fit_time"> <!-- expected -->
<input type="radio" class="" value="on">
<!-- react-text: 7005 -->
mean_fit_time
<!-- /react-text -->
</label>
</div>
Do you have an idea what could cause that?
Metadata
Metadata
Assignees
Labels
No labels