Closed chinleung closed 2 years ago
Hi,
I'm looking for an example on how to make the field work with a HasMany relation.
HasMany
I have the following:
NovaS3MultipartUpload::make(__('Images'), ReviewImage::class) ->hasMany('path') ->allowMultipleUploads() ->disk('s3'),
I'm getting the following error in the console:
I'm using Laravel Nova v3.29.0.
Ah nevermind, I had to use relationship's function name instead of the class name.
NovaS3MultipartUpload::make(__('Images'), 'images') ->hasMany('path') ->allowMultipleUploads() ->disk('s3'),
Hi,
I'm looking for an example on how to make the field work with a
HasMany
relation.I have the following:
I'm getting the following error in the console:
I'm using Laravel Nova v3.29.0.