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
When the rx.dialog.close component, which has a button with type=submit as its child, is clicked, the dialog successfully closes, but the form submission is canceled. The following message appears in the browser console:
Form submission canceled because the form is not connected
Current Behavior
The on_submit event handler is not executed when the submit button is used within rx.dialog.close.
Expected Behavior
The on_submit event handler should be executed when the submit button is used within rx.dialog.close.
When the
rx.dialog.close
component, which has a button withtype=submit
as its child, is clicked, the dialog successfully closes, but the form submission is canceled. The following message appears in the browser console:Current Behavior
on_submit
event handler is not executed when the submit button is used withinrx.dialog.close
.Expected Behavior
on_submit
event handler should be executed when the submit button is used withinrx.dialog.close
.Reproducible Example
Add Customer
.Submit Customer
.Suggested Solution
onSubmit
for button withtype=submit
radix-ui/primitives#1109open
state and theon_open_change
event to toggle the dialog after form submission.Environment
The text was updated successfully, but these errors were encountered: