platform
platform copied to clipboard
Can't add files through the media library inside the matrix
Describe the bug When you try to attach an already loaded file, you'll get an error "Error invoking action «click->upload#addFile"» (see screenshot below).
But when you try to upload a new file, there are no errors.
To Reproduce Steps to reproduce the behavior:
- Insert matrix into your layout
- Add upload field to matrix
- Try to add already loaded file
Expected behavior Adding an already uploaded file
Screenshots

Desktop (please complete the following information):
- OS: MacOS Big Sur 11.3.1
- Browser Chrome
- Version 103.0.5060.134
Server (please complete the following information):
- Platfrom Version: 12.6
- Laravel Version: 9.20.0
- PHP Version: 8.1.8
- Database: MySQL
- Database Version: 8.0.23