@props(['required' => false, 'error' => null]) @php $label = $attributes['label'] ?? false; $name = $attributes['name'] ?? false; $error = json_decode($error, true) ?? []; @endphp
@if (!empty($error[0]))
@endif @if ($label) @endif merge(['class' => 'w-full appearance-none border-0 bg-transparent text-black py-1 px-0 focus:outline-none focus:border-transparent']) }} /> @if (!empty($error[0]))
{{ $error[0] }}
@endif