@props([ 'label' => '', 'name' => '', 'feedback' => null, 'disabled' => false ]) @php $name = $attributes->has('wire:model') ? $attributes->get('wire:model') : $name; @endphp
has('x-show')) x-show="{{ $attributes->get('x-show') }}" x-cloak @endif> @if ($feedback) @elseif ($errors->has($name)) {{ $errors->first($name) }} @endif