Renan
Renan
FFilament
Created by Renan on 3/28/2025 in #❓┊help
How to display a file uploaded in a previous step in a Filament wizard form (before submission)?
I got what I wanted. Instead of accessing $document[0], I retrieved the first value of the array regardless of its key. Since only one document is uploaded, that’s enough.
if (is_array($document)) {
$document = collect($document)->first();
}
if (is_array($document)) {
$document = collect($document)->first();
}
If you have any suggestions, I'd be happy to hear them. :))
11 replies
FFilament
Created by Renan on 3/28/2025 in #❓┊help
How to display a file uploaded in a previous step in a Filament wizard form (before submission)?
maybe what I'm writing might seem a little confusing, I'm using the help of a translator hehehe
11 replies
FFilament
Created by Renan on 3/28/2025 in #❓┊help
How to display a file uploaded in a previous step in a Filament wizard form (before submission)?
but what comes from $document[0] is something like an id
11 replies
FFilament
Created by Renan on 3/28/2025 in #❓┊help
How to display a file uploaded in a previous step in a Filament wizard form (before submission)?
No description
11 replies
FFilament
Created by Renan on 3/28/2025 in #❓┊help
How to display a file uploaded in a previous step in a Filament wizard form (before submission)?
No description
11 replies
FFilament
Created by Renan on 3/28/2025 in #❓┊help
How to display a file uploaded in a previous step in a Filament wizard form (before submission)?
No description
11 replies