only(['class', 'wire:key'])->class('relative') }}>
except(['class', 'wire:key'])->whereDoesntStartWith('wire:model') }}
:component="WireUi::component('input')"
x-model="{{ $colorNameAsValue ? 'selected.name' : 'selected.value' }}"
x-bind:class="{ 'pl-8': selected.value }"
x-on:input="setColor($event.target.value)"
x-ref="input"
:label="$label"
:prefix="null"
:icon="null">
dropdown-open