laravel / nova-issues

554 stars 35 forks source link

Download not working when there is multiple computed file fields #6251

Closed AEM5299 closed 6 months ago

AEM5299 commented 6 months ago

Description:

When there is multiple computed file fields on a resource, the download for all of them just download the first file field defined.

They all seem to have the same key on the frontend (computedField), which might be the issue. I couldn't find a way to configure the keys manually.

Detailed steps to reproduce the issue on a fresh Nova installation:

Create a resource with 2 computed File fields with downloads enabled. Go to the resource page then try to download the second file. It will try to download the first instead.

crynobone commented 6 months ago

They all seem to have the same key on the frontend (computedField)

This is the expected behaviour of Computed Field. You can't use this type of field to solve your requirements.