New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How am I supposed to get the value from this component? #78
Comments
The Maybe you meant set the initial value instead? You should be able to pass those into the factory function, e.g.:
|
Ok, so it should look like this? Which seems to work well.
Could you change your example here. I find this example confusing for trying to set the initial value. |
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: