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...

15 lines
670 B

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