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/SBogers33/bbec.nl/workbench/komma/kms/src/views/attributes/multiSelect.blade.php
<div class="entity-attribute entity-attribute-multiselect {{{ count($attribute->errors) == 0 ? '' : ' error' }}} {{{$attribute->class}}} @if( !$attribute->show || ($attribute->show === 'admin' && !\Auth::user()->get()->is_admin) ) hidden @endif photo " ng-controller="KmsAttributeMultiSelectController">

    {{ Form::label($attribute->key, $attribute->label) }}
    {{ Form::text($attribute->key, $attribute->getValue(), ['ng-model' => 'attributes.'.$attribute->key, 'style' => 'display: none;']) }}

    <div class="content">
        <ui-select multiple allow-clear="false" id="{{$attribute->key}}" ng-model="attributes.{{$attribute->key}}_select" theme="select2" ng-init="initWithValue({{ $attribute->getValue() }})">
            <ui-select-match placeholder="{{{$attribute->placeholder}}}">@{{$item.content}}</ui-select-match>
            <ui-select-choices repeat="selectObject in selectData | propsFilter: {content: $select.search}">
                <div ng-bind-html="selectObject.htmlContent"></div>
            </ui-select-choices>
        </ui-select>
    </div>

    <div id="select-data-{{$attribute->key}}" class="select-data" style="display: none;">
        @foreach($attribute->getData() as $dataObject)
            <div data-value="{{{$dataObject['value']}}}" data-full-value="{{{$dataObject['fullValue'] or $dataObject['value']}}}" data-content="{{{ $dataObject['content'] }}}">{{ $dataObject['htmlContent'] or $dataObject['content'] }}</div>
        @endforeach
    </div>
</div>