fix: 405 error on schedule upload/edit
- Edit.vue: move _method PUT from Inertia options to FormData (Inertia v2 ignores it in options) - Upload.vue: add forceFormData: true for reliable multipart/form-data - AccessCheck: add logging when abort() is triggered with non-200 code - UploadSchedulesController: add request logging for diagnostics - php.ini: increase max_file_uploads from 20 to 50 for bulk uploads
This commit is contained in:
@@ -440,6 +440,7 @@ export default {
|
||||
});
|
||||
|
||||
this.$inertia.post(route('dashboard.schedules.upload.store'), formData, {
|
||||
forceFormData: true,
|
||||
preserveScroll: true,
|
||||
onError: (errors) => {
|
||||
this.errors = { ...errors };
|
||||
|
||||
Reference in New Issue
Block a user