From 9b02bddea9ce68dc336cbd2b6c79855ac436a39d Mon Sep 17 00:00:00 2001
From: philipp lang <philipp@aweos.de>
Date: Tue, 29 Oct 2024 21:21:52 +0100
Subject: [PATCH] Fix: Add id to select field

---
 app/View/Form/Select.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/View/Form/Select.php b/app/View/Form/Select.php
index 5b869f13..89db5bfd 100644
--- a/app/View/Form/Select.php
+++ b/app/View/Form/Select.php
@@ -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