@if($label)
@endif
merge([
'class' => 'mt-1 px-4 py-2 text-sm block w-full rounded-md border border-gray-300 shadow-sm
focus:border-blue-500 focus:ring focus:ring-blue-500 focus:ring-opacity-50
' . ($errors->has($attributes->wire('model')->value()) ? 'border-red-500' : '')
]) }}
/>
@if($type == 'file')
Uploading...
@endif
@if ($type === 'password')
@endif
@if($attributes->get('help_text'))
{{ $attributes->get('help_text') }}
@endif
@error($attributes->wire('model')->value())
{{ $message }}
@enderror