Repeater and SpatieUpload Fill
Trying to do set a repeater field using with the repeater having . Im filling the name file, but getting . Tried a few different ideas with media() on 'attachment', but im obviously missing something simple.
6 Replies
Anyone have any ideas on this? Im finding doing uploads and having a preview in my other element being a big pain since they arent saved yet
I think it’s because you’re returning an array of arrays to the component instead of an array of paths to the file.
Filepond can’t display an array for the image/preview.
@awcodes im still not sure what format filepond wants. It says it wants a string, but what string? the filename? thats not it
Looks like it's just the path without the disk name, then that is converted to a UUID keyed array of the path:
so it looks like just an array of the filepath would work.
@awcodes im using s3. hmm
shouldn't matter. i wouldn't think. the disk() on the fileupload will tell it to look in s3