Fix: Add id to select field

This commit is contained in:
philipp lang 2024-10-29 21:21:52 +01:00
parent 93c132210a
commit 744782ec61
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class Select extends Component
@endif
<div class="relative flex-none flex">
<select {{$attributes}} @if($disabled) disabled @endif name="{{$name}}"
<select {{$attributes}} @if($disabled) disabled @endif name="{{$name}}" id="{{$id}}"
class="
w-full h-[var(--height)] border-gray-600 border-solid text-gray-300 bg-gray-700 leading-none rounded-lg
group-[.size-default]:border-2 group-[.size-sm]:border