Files
LeafWeb/WebCms/Umbraco/Views/propertyeditors/entitypicker/entitypicker.html
T
2016-11-07 12:56:17 -05:00

20 lines
642 B
HTML

<div ng-controller="Umbraco.PropertyEditors.EntityPickerController" ng-switch="model.config.multiple">
<select name="contentTypeList"
class="umb-editor umb-dropdown"
ng-switch-default
ng-model="model.value"
ng-options="{{selectOptions}}">
</select>
<!--NOTE: This ng-switch is required because ng-multiple doesn't actually support dynamic bindings with multi-select lists -->
<select name="contentTypeList"
class="umb-editor umb-dropdown"
ng-switch-when="1"
multiple
ng-model="model.value"
ng-options="{{selectOptions}}">
</select>
</div>