We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a0ff31 commit 27b9b8eCopy full SHA for 27b9b8e
CHANGELOG.md
@@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
12
- [SuperDebug](https://superforms.rocks/super-debug) support for `Map` and `Set`.
13
14
+### Fixed
15
+
16
+- `submit` method now falls back to submit, if no support for requestSubmit in browser.
17
18
## [2.12.2] - 2024-03-29
19
20
### Fixed
src/lib/client/superForm.ts
@@ -2100,6 +2100,10 @@ export function superForm<
2100
);
2101
}
2102
2103
+ if (!form.requestSubmit) {
2104
+ return form.submit();
2105
+ }
2106
2107
const isSubmitButton =
2108
submitter &&
2109
((submitter instanceof HTMLButtonElement && submitter.type == 'submit') ||
0 commit comments