$data['images'] = collect($get('images'))->mapWithKeys(function ($images, $key) {
return [$key => collect($images)->map(function ($image) {
return $image instanceof TemporaryUploadedFile ? $image->serializeForLivewireResponse() : $image;
})->toArray()];
})->toArray();
$data['images'] = collect($get('images'))->mapWithKeys(function ($images, $key) {
return [$key => collect($images)->map(function ($image) {
return $image instanceof TemporaryUploadedFile ? $image->serializeForLivewireResponse() : $image;
})->toArray()];
})->toArray();