@props([ 'name' => 'thumbnail', 'label' => 'Thumbnail', 'value' => null, 'placeholder' => 'Chọn File', 'required' => false, 'horizontal' => true, 'labelClass' => 'col-md-3 text-right', 'inputClass' => 'col-md-9', ]) @php $uniqueId = 'image-picker-' . uniqid(); $currentValue = old($name) ?? $value; @endphp @if ($horizontal)