Added the ability to find an authority even if a user only types the name in and does not select it.

This commit is contained in:
kevgliss
2015-11-23 16:35:46 -08:00
parent 2525d369d4
commit e14eefdc31
4 changed files with 12 additions and 6 deletions

View File

@ -29,7 +29,7 @@
<div class="input-group col-sm-12">
<input name="selectedAuthority" tooltip="If you are unsure which authority you need; you most likely want to use 'verisign'" type="text" ng-model="certificate.selectedAuthority" placeholder="Authority Name" typeahead-on-select="certificate.attachAuthority($item)"
typeahead="authority.name for authority in authorityService.findActiveAuthorityByName($viewValue)" typeahead-loading="loadingAuthorities"
class="form-control" typeahead-wait-ms="100" typeahead-template-url="angular/authorities/authority/select.tpl.html" required>
class="form-control" typeahead-wait-ms="1000" typeahead-template-url="angular/authorities/authority/select.tpl.html" required>
</div>
</div>
</div>