Open kj-wielink opened 4 months ago
Thank you for sharing this dropzone example! Just one thing, when creating the Form model the image attribute is required (error SQLSTATE[HY000]: General error: 1364 Field 'image' doesn't have a default value).
This can be fixed by making the image attribute nullable in https://github.com/eriktailor/laravel-dropzone-form/blob/master/database/migrations/2023_10_23_063236_create_forms_table.php#L18
Thank you for the solution! Cheers, Erik
Thank you for sharing this dropzone example! Just one thing, when creating the Form model the image attribute is required (error SQLSTATE[HY000]: General error: 1364 Field 'image' doesn't have a default value).
This can be fixed by making the image attribute nullable in https://github.com/eriktailor/laravel-dropzone-form/blob/master/database/migrations/2023_10_23_063236_create_forms_table.php#L18