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
Hi, been playing with Svelte 5 and noticed even though you can have arbitrary property binding with $bindable(), forwarding a state to bind:group doesn't work on <input type="checkbox" />. Clicking on any checkbox would reset the group state array with its value instead of toggling it. Is this a known bug? Or am I doing something wrong? It's a big roadblock to making component libraries.
Describe the bug
Hi, been playing with Svelte 5 and noticed even though you can have arbitrary property binding with
$bindable()
, forwarding a state tobind:group
doesn't work on<input type="checkbox" />
. Clicking on any checkbox would reset the group state array with its value instead of toggling it. Is this a known bug? Or am I doing something wrong? It's a big roadblock to making component libraries.Reproduction
https://svelte-5-preview.vercel.app/#H4sIAAAAAAAAE41STY-bMBD9KyN3tRApgp5ZoF_HHvawvSU5ODAEt8a2bJO2Qvz32tigpdtDlQOel5nn5_dmIh3jaEhxmoigA5KCfFKKHIn9rXxh7sgtutrIUTceKU2jmbL1WQCwQUlt4UuPzY-r_AWdlgMkWb4CWRhPns7Ct3O0rmVk9llZJoWBCk6Ju45jcoTkMxXu50_Pmorbgn1lP1lyedoN-7EHY6nF9HQ5ROoHJozCxqahxcNlvil1Rcvui-TpHdKm38ugJtSzbwAot_d4R6ozCZxnAnfKR6ym0AxXJtripuWoImTmOjC4a3aEmyFBQu4lLP9tV4XGxlfYrnQZR3GzPVRVtRMc8cjuVKBFPTDhLPl7tPzXIDw-wr6thveRTYqm9-5XU4oHqGpIN9Mxa0atUdhvVN_QZlEtfNi7WYCLZWGLbrwgd8kA5Xx58t6MUtUvg5S2Z1jAKv67ZCL1-R_mMle1zzLk5xZxkC3rGLaksHrE-bjt7Ur7v8vrF2qCJT-_UT5NeuWYHo4uB8Zb99IjZFmmtFQGZt-zHNO3y8XpFXl4DhNqtOHdXoXbnmaNmAR4Wjmj46_XaPkseB63lXWbmtg_fXTnFvWGp8HtKWfd7JWtat6adZn_AHW3NoPwAwAA
Logs
System Info
Severity
blocking an upgrade
The text was updated successfully, but these errors were encountered: