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 want to use Radix Select in form and manage event by my self.
But when i put select in form, i have double event with an empty string due to FormControl enabled by !!trigger.closest('form') in Select.tsx
Is there a way to disable it ?
Bug report
Current Behavior
I want to use Radix Select in form and manage event by my self.
But when i put select in form, i have double event with an empty string due to FormControl enabled by
!!trigger.closest('form')
inSelect.tsx
Is there a way to disable it ?
Expected behavior
Force form control to be disable
Reproducible example
CodeSandbox Duplicate Event in form
Suggested solution
Allow form to be false and use ?? instead of || in the check
Additional context
N/A
Your environment
The text was updated successfully, but these errors were encountered: