Open clemens-vi opened 2 months ago
new finding: the error occurs when there are no child components like "sd-radio".
I remember Shoelace having the same issue: https://github.com/shoelace-style/shoelace/commit/eba4a93e4a785db9b5749726e6e244442bb25cdb#diff-441f6408e703b843ce9677f23228c8821671b25a3431a35c99ca7f5a751a258eR124-R131
Do you want to give it a try in a PR? :)
I have implemented a radio-group with sd-radio components inside:
I get the following javascript error when rendering:
via dev tools in Chrome, I found the reference to this line in the code: https://github.com/solid-design-system/solid/blob/0056784b52ebbbd112a40340d3282ed5ad55f544/packages/components/src/components/radio-group/radio-group.ts#L254C9-L254C32
Dev Tools:![Bildschirmfoto 2024-04-19 um 16 13 53](https://github.com/solid-design-system/solid/assets/59684329/8d07c7e7-30de-4df0-a34a-9e3fbcb17b40)