HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/ehbo.today/resources/views/kms/attributes/select.blade.php
<div class="entity-attribute entity-attribute-select {{$attribute->getStyleClass()}}">
    {!! Form::label($attribute->getKey(), $attribute->getLabelText()) !!}

    @if($attribute->getReadOnly())
        <div class="input-read-only">
            @foreach($attribute->getItems() as $selectOptionModel)
                @if($attribute->getValue() == $selectOptionModel->getValue())
                    {{$selectOptionModel->getHtmlContent()}}
                @endif
            @endforeach
        </div>
        {!! Form::hidden($attribute->getKey(), $attribute->getValue()) !!}
    @else
        <div class="select-wrapper">
            <select class="select-menu" name="{{$attribute->getKey()}}" id="{{$attribute->getKey()}}">
                @foreach($attribute->getItems() as $selectOptionModel)
                    @if($selectOptionModel->getValue() != $currentId || $attribute->getExcludeCurrentModelItem() == false)
                        <option @if($attribute->getValue() == $selectOptionModel->getValue()) selected @endif
                        value="{{$selectOptionModel->getValue()}}">
                            {{$selectOptionModel->getHtmlContent()}}
                        </option>
                    @endif
                @endforeach
            </select>
        </div>
    @endif
</div>