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/farmfun.komma.pro/resources/views/kms/attributes/dataList.blade.php
<div class="entity-attribute entity-attribute-text {!! $attribute->getStyleClass() !!}   @if($errors->has((string)$attribute->getKey())) error @endif {!!$attribute->getStyleClass()!!}"
     data-uk-tooltip="{pos:'bottom-right'}"
     title="{{ $errors->get((string)$attribute->getKey()) != [] ? $errors->get((string)$attribute->getKey())[0] : ''}}"

     @foreach($attribute->getDataAttributes() as $dataAttributeName => $dataAttributeValue)
         {{ $dataAttributeName }}="{{ $dataAttributeValue }}"
     @endforeach
>

@include('kms.attributes.label')

@if($attribute->getReadOnly())
        <div class="input-read-only">{!! $attribute->getValue() !!}</div>
        <input type="hidden" name="{{$attribute->getKey()}}" value="{{$attribute->getValue()}}">
@else
        <input list="{{$attribute->getKey()}}" name="{{$attribute->getKey()}}">
        <datalist id="{{$attribute->getKey()}}">
            @foreach($items as $item)
                <option @if(old((string)$attribute->getKey(), $attribute->getValue())) selected="selected" @endif value="{!! $item !!}">
            @endforeach
        </datalist>

        @if($attribute->getExplanation())<span class="explanation">{!! $attribute->getExplanation() !!}</span> @endif
@endif
</div>