FileUpload inside Builder with SpatieMediaLibrary and AWS S3

I have some issues with the uploading files in combination with the Form Builder. When I use the SpatieMediaLibrary component in my Form, it uploads the image to AWS S3. Only the filename is not being stored inside my Builders Json:
array:3 [▼ // app/Http/Controllers/ClientController.php:34
0 => array:2 [▶]
1 => array:2 [▶]
2 => array:2 [▼
"data" => []
"type" => "image"
]
]
array:3 [▼ // app/Http/Controllers/ClientController.php:34
0 => array:2 [▶]
1 => array:2 [▶]
2 => array:2 [▼
"data" => []
"type" => "image"
]
]
If I use the normal FileUpload component, the data array is filled with the filename. Not sure if I'm missing something?
0 Replies
No replies yetBe the first to reply to this messageJoin