@php extract(Flux::forwardedAttributes($attributes, [ 'name', 'multiple', 'size', ])); @endphp @props([ 'name' => $attributes->whereStartsWith('wire:model')->first(), 'multiple' => null, 'size' => null, ]) @php $classes = Flux::classes() ->add('w-full flex items-center gap-4') // NOTE: We need to add relative positioning here to prevent odd overflow behaviors because of // "sr-only": https://github.com/tailwindlabs/tailwindcss/discussions/12429 ->add('relative') ; [ $styleAttributes, $attributes ] = Flux::splitAttributes($attributes); @endphp