{{-- Date Picker Component --}} @props([ 'name' => '', 'label' => '', 'value' => null, 'min' => null, 'max' => null, 'required' => false, 'disabled' => false, 'hint' => '', ]) @php $c = 'block w-full rounded-lg border border-input bg-card px-3 py-2.5 pe-10 text-sm text-card-foreground shadow-sm transition-colors duration-200 focus:border-primary-500 focus:outline-none focus:ring-2 focus:ring-primary-500/20 dark:focus:border-primary-400'; $c .= $errors->has($name) ? ' border-red-400 focus:border-red-500 focus:ring-red-500/20' : ''; @endphp
@if($label) @endif
merge(['class' => $c]) }} />
@if($hint && !$errors->has($name))

{{ $hint }}

@endif