-
Notifications
You must be signed in to change notification settings - Fork 484
Open
Description
Using
"vex-dialog": {
"version": "1.1.0"
}
"vex-js": {
"version": "4.1.0"
}There could be an easy alternative to vex.close() that would gather the form data before closing the pop-up, either a separate method like vex.submit(), or vex.close(bool shouldSubmit), that wouldn't count as cancel.
Currently, programmatically, I can only do
el.dispatchEvent(new Event('submit'));with el being the form, in order for the onSubmit handler to run and the provided callback to work properly.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels