UNPKG

kong-dashboard

Version:
25 lines (22 loc) 769 B
<div class="input-field"> <select multiple materialize-select id="{{ 'property-' + $ctrl.path }}" ng-disabled="{{ $ctrl.schema.readonly }}" ng-options="option as option for option in $ctrl.schema.items.enum" ng-model="$ctrl.object[$ctrl.key]"> <option value="" disabled selected>Choose options</option> </select> <label>{{ $ctrl.label }}</label> <div style="margin-top: -15px;" id="{{ 'error-' + $ctrl.path }}" class="red-text errors" ng-if="$ctrl.error" ng-bind-html="$ctrl.error | arrayToHtmlList"> </div > <p ng-if="$ctrl.schema.description" class="grey-text" style="margin-top: 0; margin-bottom: 30px; font-size: 85%"> <em>{{ $ctrl.schema.description }}</em> </p> </div>