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
I'm using a checkbox to submit a form in my project, enabled by passing type="submit" to Checkbox.Root, but it doesn't work anymore when using the next version of bits-ui
Looking at the implementation of the checkbox component it looks like the type prop is hardcoded and takes precedence over the rest props:
Describe the bug
I'm using a checkbox to submit a form in my project, enabled by passing
type="submit"
toCheckbox.Root
, but it doesn't work anymore when using thenext
version ofbits-ui
Looking at the implementation of the checkbox component it looks like the
type
prop is hardcoded and takes precedence over the rest props:bits-ui/packages/bits-ui/src/lib/bits/checkbox/checkbox.svelte.ts
Line 77 in a718121
Reproduction
https://stackblitz.com/edit/vitejs-vite-fgbj4c?file=src%2FApp.svelte
Logs
No response
System Info
Severity
blocking an upgrade
The text was updated successfully, but these errors were encountered: