Added async submit function..

This commit is contained in:
Cüneyt Şentürk
2021-11-05 19:16:04 +03:00
parent 3ec8b3120b
commit 4f1146dc33
2 changed files with 49 additions and 0 deletions

View File

@ -119,6 +119,11 @@ export default {
this.form.submit();
},
// Form Async Submit
async onAsyncSubmit() {
await this.form.asyncSubmit();
},
onHandleFileUpload(key, event) {
this.form[key] = '';
this.form[key] = event.target.files[0];