laravel-admin icon indicating copy to clipboard operation
laravel-admin copied to clipboard

TypeError In UploadField.php line 346

Open Jumas-Cola opened this issue 2 years ago • 0 comments

  • Laravel Version: 9.13.0
  • PHP Version: 8.0.19
  • Laravel-admin: 1.8.17

Description:

Only when use Laravel Octane with Road Runner.

Encore\Admin\Form\Field\File::getStoreName(): Argument #1 ($file) must be of type Symfony\Component\HttpFoundation\File\UploadedFile, null given, called in /var/www/vendor/encore/laravel-admin/src/Form/Field/Image.php on line 38

Steps To Reproduce:

Run app via Laravel Octane with Road Runner. Then create row with image field. Then try to update this row, but not image field, for example text field of object.

Jumas-Cola avatar May 22 '22 19:05 Jumas-Cola