Laravel-admin: Delete an image on edit mode then save (not update new image) not working.

Created on 11 Sep 2017  ·  10Comments  ·  Source: z-song/laravel-admin

Delete an image on edit mode then save not working. I am not update new image. Remove then give it empty

Most helpful comment

$form->image(...)->removable();

All 10 comments

+1 - no trash icon in edit mode (in demo page too)
http://laravel-admin.org/demo/multiple-images/3/edit

OK, I found in DOC... it needs ->removable() option... Should this not be the default?

right!

@z-song Take a look if you have time 👍

Update to v1.5.x-dev and try again.

@z-song run composer update ?

composer require encore/laravel-admin v1.5.x-dev

@z-song
No icon remove image
I also run php artisan vendor:publish --tag=laravel-admin-assets --force

https://gyazo.com/4b267ec2c123f89248ef4c87fc6c6085

$form->image(...)->removable();

@z-song Thank you so much.
If you have time can you add validation requice image? 💯

Was this page helpful?
0 / 5 - 0 ratings

Related issues

antranapp picture antranapp  ·  3Comments

greentornado picture greentornado  ·  3Comments

fokoz picture fokoz  ·  3Comments

joernroeder picture joernroeder  ·  3Comments

piian picture piian  ·  3Comments