[CheckboxButtonGroup] node labels not getting rendered in v7
Opened this issue · 0 comments
SimonGolms commented
Duplicates
- I have searched the existing issues
Latest version
- I have tested the latest version
Current behavior 😯
In v7 the CheckboxButtonGroup
does not longer render the options label.
<CheckboxButtonGroup
name="basic-checkbox"
options={[
{
id: "1",
label: <div>I am a div</div>,
},
{
id: "2",
label: "I am a string",
},
]}
/>
Expected behavior 🤔
Since this breaking change was not mentioned in the somehow release notes, I am expecting this as a bug and that the options label getting rendered again to be also compatible with the MUI FormControlLabel
label props
Steps to reproduce 🕹
v6: https://codesandbox.io/p/sandbox/boring-dan-hrjpqr?file=%2Fpackage.json%3A12%2C36
v7: https://codesandbox.io/p/sandbox/elastic-perlman-4z65jj?file=%2Fpackage.json%3A12%2C36