Fix: Add id to select field

This commit is contained in:
philipp lang 2024-10-29 21:21:52 +01:00
parent 013aa082ec
commit 05b41eabb8
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class Select extends Component
@endif @endif
<div class="relative flex-none flex"> <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=" class="
w-full h-[var(--height)] border-gray-600 border-solid text-gray-300 bg-gray-700 leading-none rounded-lg 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 group-[.size-default]:border-2 group-[.size-sm]:border