fix/direct-selectra-init-timing - #13
Conversation
- fix(alpine): reliably auto-wrap <select x-selectra> before Alpine DOM walk.
|
Auto-wrapping is important because it preserves both HTML validity and Selectra behavior while keeping authoring simple. Why Auto-Wrapping Matters
|
…o more <div x-data="selectra({...})" x-selectra> wrappers. When JS is disabled, native <select> elements display as normal form controls.
- Bump version to 1.1.0.
- update readme
<select x-selectra>usage in real applications (including Rails/Turbo environments).<select>auto-wrapping synchronously during plugin registration, ensuring initialization happens before Alpine processes the DOM.