@props(['label' => 'Image', 'name' => 'image', 'currentUrl' => null]) @php $preview = null; if ($currentUrl) { $preview = str_starts_with($currentUrl, 'http') ? $currentUrl : asset(ltrim($currentUrl, '/')); } @endphp
Image actuelle — sélectionnez un fichier pour la remplacer.
@endifJPG, PNG, WebP ou GIF — max. 5 Mo
@error($name){{ $message }}@enderror