-
Notifications
You must be signed in to change notification settings - Fork 180
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
Input type="radio" or "checkbox" group binding does not work #66
Comments
Likewise,
|
Thanks @macsupport , this is tracked in #36 and plan to support soon, especially for common ones like input, change, hover, etc. However the "official" way to use Input is:
and you'd call |
Am addressing common Input events with: #72 |
@macsupport Your Input use case should be fixed in sveltestrap@3.2.7 |
Hi @bestguy first, thanks for this library! I don't think this is fixed though, certainly, I tested and it doesn't work and further to that, in Input.d.ts, there is not a group option in IInputProps |
Hi @lovetoast , The group issue is related to sveltejs/svelte#2308 where Svelte does not support Would love to know a workaround or fix if you find one! |
There is a workaround suggestion from community: sveltejs/svelte#2308 (comment) I'll see if it's something we could add to sveltestrap. |
@bestguy thanks for the fast response, that was actually going to be my suggestion haha! |
Sorry to bump what looks like a dead thread, but I see this is still open and wonder where it is at. My experience is I am able to bind:group for radio buttons, but not check boxes and digging lead me here. |
I wonder if what @DenverEllis commented (and I also experienced) is related to missing Besides that, there's also a bad conflict of IDs; in absence of a given |
bind:group={...}
does not work with Input. For example:https://svelte.dev/examples#group-inputs
The text was updated successfully, but these errors were encountered: