Headless Toggle Component Not Working Properly with Alpine 3.12.0 #3453
-
Using the markup provided from the docs - https://alpinejs.dev/component/headless-switch - the toggle does not reflect the Functioning example with Alpine 3.11.1 - https://codepen.io/kylecotter/pen/NWLamGa Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
For some reason, it doesn't look like the ui library was tagged yesterday. Alpine 3.12 will need the latest changes in the ui library to work properly. |
Beta Was this translation helpful? Give feedback.
-
@kylecotter you should now be able to update your UI script tag to |
Beta Was this translation helpful? Give feedback.
@kylecotter you should now be able to update your UI script tag to
<script defer src="https://unpkg.com/@alpinejs/[email protected]/dist/cdn.min.js"></script>
to get the latest changes 🙂