@props(['label', 'name', 'type' => 'text', 'required' => false])
class(['field-control', 'border-red-400' => $errors->has($name)]) }} aria-invalid="{{ $errors->has($name) ? 'true' : 'false' }}" @if($errors->has($name)) aria-describedby="{{ $name }}-error" @endif> @error($name)

{{ $message }}

@enderror