Closed bernhardh closed 2 hours ago
Using the slots of the select component doesn't do anything.
The following code is just copy+paste from the docs
<flux:select variant="listbox"> <x-slot name="button"> <flux:select.button class="!rounded-full bg-black" placeholder="Choose industry..." :invalid="$errors->has('...')" /> </x-slot> <flux:option>Photography</flux:option> ... </flux:select>
Results in
As you can see, no placeholder is set.
Same goes for the listbox variant and the button slot. This time, I just place three hashes in the slot, just for testing:
listbox
button
<flux:select variant="listbox" placeholder="test"> <x-slot name="button"> ### </x-slot> <flux:option>Photography</flux:option> ... </flux:select>
Sorry, just had to update
Using the slots of the select component doesn't do anything.
The following code is just copy+paste from the docs
Results in
As you can see, no placeholder is set.
Same goes for the
listbox
variant and thebutton
slot. This time, I just place three hashes in the slot, just for testing: