@props([ 'name', 'label' => null, 'required' => false, 'minlength' => null, 'maxlength' => null, 'placeholder' => '', 'value' => '', 'help' => null, 'error' => null, 'disabled' => false, 'rows' => 3, 'autoResize' => true, 'wireModel' => null, ]) @php $inputId = $name . '-' . uniqid(); @endphp
{{-- Label --}} @if($label) @endif {{-- Textarea --}}
{{-- Validation state icon --}}
{{-- Footer: character counter --}} @if($maxlength)
@endif {{-- Description / error area --}}
@error($name) @enderror @if($help)

{{ $help }}

@endif