mirror of
https://github.com/flarum/framework.git
synced 2025-02-28 01:04:09 +08:00

The DOM submit method doesn't raise a `submit` event (https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/submit), so submitting the form this way just refreshed the page (default HTML form behavior). The recommended fix (and the one implemented here) is to simulate a button-triggered submission. Fixes https://github.com/flarum/core/issues/2595
Description
Simple forum software for building great communities.
199 MiB
Languages
PHP
60.7%
TypeScript
26%
JavaScript
7.9%
Less
4.4%
Blade
0.8%
Other
0.2%