mirror of
https://github.com/flarum/framework.git
synced 2025-05-22 14:49:57 +08:00
Default submit handler for form modals
This commit is contained in:
@ -39,6 +39,10 @@ export default class FormModal extends Component {
|
|||||||
app.modal.close();
|
app.modal.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onsubmit(e) {
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
handleErrors(errors) {
|
handleErrors(errors) {
|
||||||
if (errors) {
|
if (errors) {
|
||||||
this.alert(new Alert({
|
this.alert(new Alert({
|
||||||
|
Reference in New Issue
Block a user