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/wp-edit/wp-edit-field/wp-edit-select-field.direct...

8 lines
329 B

<select ng-model="vm.workPackage[vm.fieldName]"
wp-edit-field-requirements="vm.field.schema"
ng-options="value as (value.name || value.value) for value in vm.field.options track by value.href"
ng-change="vm.submit()"
ng-blur="vm.deactivate()">
<option value="" ng-if="false"></option>
</select>