@props(['label', 'name', 'value' => '', 'error' => null]) @php $label = $label ?? false; $placeholder = $attributes['placeholder'] ?? ''; $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