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-relations/wp-relations-create/wp-relations-autocomplete/wp-relations-autocomplete.t...

12 lines
529 B

<form name="add_relation_form" class="form">
<input type="text"
class="wp-relations--autocomplete"
ng-model="selectedWp"
typeahead-append-to-body="true"
typeahead-on-select="onSelect($model)"
typeahead-wait-ms="100"
typeahead-input-formatter="getIdentifier($model)"
typeahead-is-open="autocompleteIsOpen"
placeholder="{{ ::text.placeholder }}"
uib-typeahead="item as getIdentifier(item) for item in autocompleteWorkPackages($viewValue)">
</form>