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/SBogers87/basephotography.nl/app/storage/views/c5e2b1d981d7d696ef1089052295541d
<div class="entity-attribute entity-attribute-select<?php echo e(count($attribute->errors) == 0 ? '' : ' error'); ?> <?php echo e($attribute->class); ?>" ng-controller="KmsAttributeSelectController">

    <?php echo Form::label($attribute->key, $attribute->label); ?>

    <?php echo Form::hidden($attribute->key, $attribute->value, [
        'ng-value' => 'attributes.'.$attribute->key.'.selected.value'
        ]); ?>


    <div class="content">
        <ui-select id="<?php echo $attribute->key; ?>" ng-model="attributes.<?php echo $attribute->key; ?>.selected" theme="selectize" ng-init="initWithValue('<?php echo $attribute->getValue(); ?>')">
            <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>

    <div id="select-data-<?php echo $attribute->key; ?>" class="select-data" style="display: none;">
        <?php if($attribute->allowNull): ?>
            <div data-value="0" data-full-value="0" data-content="None selected"><em>None</em></div>
        <?php endif; ?>
        <?php foreach($attribute->getData() as $dataObject): ?>
            <div data-value="<?php echo e($dataObject['value']); ?>" data-full-value="<?php echo e(isset($dataObject['fullValue']) ? $dataObject['fullValue'] : '["'.$dataObject['value'].'"]'); ?>" data-content="<?php echo e($dataObject['content']); ?>"><?php echo isset($dataObject['htmlContent']) ? $dataObject['htmlContent'] : $dataObject['content']; ?></div>
        <?php endforeach; ?>
    </div>

</div>