Added async submit function..
This commit is contained in:
5
resources/assets/js/mixins/global.js
vendored
5
resources/assets/js/mixins/global.js
vendored
@ -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];
|
||||
|
Reference in New Issue
Block a user