-
Whenever you wrap the headless listbox demo code inside a
The first error appears is caused by I'm not seeing this behaviour for the combobox by the way. Ps. thanks for your efforts on the headless components, awesome stuff! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
That is your browser trying to fix invalid html and moving element outside of the label tag so whe alpine runs, yourhtml is all mixed up. A label can only contain text nodes and inline elements |
Beta Was this translation helpful? Give feedback.
That is your browser trying to fix invalid html and moving element outside of the label tag so whe alpine runs, yourhtml is all mixed up. A label can only contain text nodes and inline elements