OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/frontend/app/components/inplace-edit/directives/field-edit/edit-drop-down/edit-drop-down.directive.html

19 lines
665 B

<div class="dropdown-wrapper">
<label
class="hidden-for-sighted"
for="inplace-edit--write-value--{{::field.name}}">
{{::field.getLabel()}}
</label>
<select
ng-disabled="fieldController.state.isBusy"
ng-model="field.value.props.href"
title="{{ fieldController.editTitle }}"
class="inplace-edit-select"
id="inplace-edit--write-value--{{::field.name}}">
<option ng-repeat="item in customEditorController.allowedValues" value="{{ item.href }}"
ng-selected="item.name === customEditorController.selected"
ng-bind="item.name || customEditorController.nullValueLabel">
</option>
</select>
</div>