nova-flexible-content icon indicating copy to clipboard operation
nova-flexible-content copied to clipboard

Image inside flexible content deleted after update

Open essaaam opened this issue 2 years ago • 3 comments

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

essaaam avatar Nov 29 '21 09:11 essaaam