{{--
 *
 * @version     1.0.$Revision:$
 * @version     SVN: $Id:$
 * @package     bplan-base/globals
 * @subpackage  Templates
 * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
 * @copyright   Copyright (C) 2025 Wassilios Meletiadis <https://www.bplan-solutions.de/>
 * /Δ\
--}}

                    <div class="col-span-{!! $width !!} sm:col-span-{!! $width !!}">

@if ($label !== null)

                      <label class="block text-sm font-medium text-gray-700 overflow" for="{!! $name !!}">{{ $label }}<span class="mandatory-marker">{{ $mandatoryMarker }}</span></label>

@endif

                      <select{!! $attributeString !!} class="mt-1 block w-full bg-white border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm{!! $classAddition !!}">

@if ($hideNullOption === false)

                        <option value="">{{ $selectText }}</option>

@endif

@foreach ($values as $value => $option)

                        <option{!! (!empty($selected) && $value == $selected) ? ' selected="selected"' : '' !!} value="{{ $value }}">{{ $option }}</option>

@endforeach

                      </select>
                    </div>
