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/multiSelect.blade.php
<div class="entity-attribute entity-attribute-multiselect  @if($errors->has($attribute->key)) error @endif {!!$attribute->class!!}"
     ng-controller="KmsAttributeMultiSelectController"
     ng-init="
     initChoices({{ $attribute->getData('JSON') }});
     modelString = createModelString('{!! $attribute->key !!}', itemKey) "

>

    {!! Form::label($attribute->key, $attribute->label()) !!}

    {!! Form::text($attribute->key(), '@{{attributes[modelString].selects | valuesToArrayFilter}}',
    [
        'ng-hide'=> 'true',
        'ng-cloak'=> 'true'
    ]) !!}
    <div class="content">
        <ui-select multiple allow-clear="false"
                   id="{!!$attribute->key!!}"
                   name="{!!$attribute->key!!}"
                   ng-model="attributes[modelString].selects"
                   theme="select2"
                   ng-init='attributes[modelString].selects = setValue({!! $attribute->getFormValue() !!})'
        >
            <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>