@props([ 'id' => $attributes->has('id') || $attributes->has('label'), 'type' => 'text', 'required' => $attributes->has('required'), 'label' => $attributes->has('label'), 'instantSave' => $attributes->has('instantSave'), 'noLabel' => $attributes->has('noLabel'), 'noDirty' => $attributes->has('noDirty'), ]) $type === 'checkbox', 'flex flex-col' => $type !== 'checkbox', ])> @if (!$noLabel) @endif @if ($type === 'textarea') @else @endif @error($id)
{{ $message }}
@enderror