You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you change your example here. I find this example confusing for trying to set the initial value. const sw = createSwitch({ label: 'Set Preference' })
For a switch in rgossiaux headlessUI I would use something like this:
Where the bind:checked was how I would set the value and have it be changed.
But in my similar implementation for this library:
I'm unsure what is the correct way to bind this switch with a value. The documentation seems to gloss over this.
The text was updated successfully, but these errors were encountered: