mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 07:50:24 +08:00
Default submit handler for form modals
This commit is contained in:
parent
bc2142db51
commit
f35a9357f0
@ -39,6 +39,10 @@ export default class FormModal extends Component {
|
||||
app.modal.close();
|
||||
}
|
||||
|
||||
onsubmit(e) {
|
||||
//
|
||||
}
|
||||
|
||||
handleErrors(errors) {
|
||||
if (errors) {
|
||||
this.alert(new Alert({
|
||||
|
Loading…
x
Reference in New Issue
Block a user