filament/filament
3.2.92
11.11.0
2.9
8.2
Hello, i've a project with a multi step wizard where the users can upload files, the files are uploaded in related entities via relationship()
I've noticed that when we have multiple step with relationships, the related fields of type FileUpload are not prefilled. When there is only a relationship the files loads correctly.
In the reproduction repo i've created, the forms fails to load with the error
foreach() argument must be of type array|object, string given
at filament/forms/src/Components/BaseFileUpload.php :712
Every step pre fills file correctly
git clone https://github.com/se09deluca/filament-wizard-fileupload-relation
cp .env.example .env
composer install
php artisan key:generate
php artisan serve
.Then try to edit the pos resource present. I've uploaded the sqlite db and sample file for an easy reproduction.
https://github.com/se09deluca/filament-wizard-fileupload-relation
No response
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too