@props([ 'id' => $attributes->has('id') || $attributes->has('label'), 'type' => $attributes->get('type') ?? 'text', 'required' => null, 'label' => $attributes->has('label'), 'helper' => $attributes->has('helper'), 'noLabel' => $attributes->has('noLabel'), 'noDirty' => $attributes->has('noDirty'), 'disabled' => null, ])
merge(['class' => 'w-full form-control']) }}> @if (!$noLabel) @endif @error($id) @enderror