File: D:/HostingSpaces/SBogers10/vebon.komma.pro/storage/framework/views/e44215e5f3dae90ce4f82a8fd4082a47
<div class="entity-attribute entity-attribute-select <?php echo e(count($attribute->errors) == 0 ? '' : ' error'); ?> <?php echo e($attribute->class); ?>"
ng-controller="KmsAttributeSelectController"
ng-init="initChoices(<?php echo e($attribute->getData('JSON')); ?>);
modelString = createModelString('<?php echo $attribute->key; ?>', itemKey) "
>
<?php echo Form::label($attribute->key, $attribute->label()); ?>
<?php if($attribute->canNotChange()): ?>
<div class="content"><strong><?php echo (empty($attribute->value)?'-':$attribute->value); ?></strong></div>
<?php echo Form::hidden($attribute->key, $attribute->value); ?>
<?php else: ?>
<?php echo Form::text($attribute->key(), $attribute->value,
[ 'ng-value' => 'attributes[modelString].selected.value',
'ng-hide'=> 'true',
'ng-cloak'=> 'true']); ?>
<div class="content">
<ui-select id="<?php echo e($attribute->key); ?>"
ng-model="attributes[modelString].selected"
theme="selectize"
ng-init="attributes[modelString].selected = parse(<?php echo e($attribute->getValueObject()); ?>)"
>
<ui-select-match allow-clear="allow-clear"
placeholder="<?php echo e($attribute->placeholder); ?>"> {{$select.selected.content}}</ui-select-match>
<ui-select-choices repeat="selectObject in selectData | filter: $select.search">
<div ng-bind-html="selectObject.htmlContent | highlight: $select.search"></div>
</ui-select-choices>
</ui-select>
</div>
<?php endif; ?>
</div>