nova-flexible-content
nova-flexible-content copied to clipboard
Image inside flexible content deleted after update
Hello, I'm using two images fields one inside flexible content and the other outside the flexible content as the following:
Image::make('Imageddd', 'bbbdssdsd')
->thumbnail(function ($value, $disk) {
return $value ? Storage::disk($disk)->url($value) : null;
}),
Flexible::make('Awards')
->button('Add Award')
->addLayout('Award', 'basic', [
Image::make('Imageddd', 'bbbdssdsd')
->thumbnail(function ($value, $disk) {
return $value ? Storage::disk($disk)->url($value) : null;
})
])
and the upload and saving behavior works very well, but when I try to update the form without uploading a new image the old image "only the one inside flexible content" got deleted
kindly help me with that