24 lines
1,016 B
HTML
Executable file
24 lines
1,016 B
HTML
Executable file
<div class="field row dropdown" ng-click="setActiveField(field._id, index)" ng-if="field.fieldOptions.length > 0">
|
|
<div class="col-xs-12 field-title" ng-style="{'color': design.colors.questionColor}">
|
|
<h3>
|
|
<span class="fa fa-angle-double-right"></span>
|
|
{{field.title}}
|
|
<span class="required-error" ng-show="field.required && !field.fieldValue">*(required)</span>
|
|
</h3>
|
|
</div>
|
|
<div class="col-xs-12 field-input ">
|
|
<ui-select ng-model="field.fieldValue"
|
|
theme="selectize"
|
|
ng-model-options="{ debounce: 250 }"
|
|
ng-required="field.required"
|
|
ng-disabled="field.disabled"
|
|
ng-focus="setActiveField(field._id, index)">
|
|
<ui-select-match placeholder="Type or select an option">{{$select.selected.option_value}}</ui-select-match>
|
|
<ui-select-choices repeat="option in field.fieldOptions | filter: $select.search">
|
|
<span>{{option.option_value | highlight: $select.search}}</span>
|
|
</ui-select-choices>
|
|
</ui-select>
|
|
</div>
|
|
</div>
|
|
<br>
|