click on the "Update" button to make checkboxes appear
open browser dev tools
see that elements in the DOM have "undefined" values eg the input id & the label
There are also no examples or tests for changing the options rendered inside a checkbox group. Examples should be added to Storybook (possibly only React as more likely to be rendering slot content conditionally there, rather than using pure web components). Unit tests and Cypress tests should also be added.
There should already be similar examples in radio button.
💬 Description
There is logic in the
componentDidLoad
foric-checkbox-group
that does not get applied if the checkboxes inside are updatedHow to recreate:
With the following code in React storybook
There are also no examples or tests for changing the options rendered inside a checkbox group. Examples should be added to Storybook (possibly only React as more likely to be rendering slot content conditionally there, rather than using pure web components). Unit tests and Cypress tests should also be added.
There should already be similar examples in radio button.