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>