Skip to content

Commit

Permalink
#79 Fix a regression related to typeahead directive introduced by the…
Browse files Browse the repository at this point in the history
… upgrade of ui-bootstrap
  • Loading branch information
nadouani committed Feb 20, 2017
1 parent 7b3ccc1 commit 9666131
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions ui/app/views/partials/case/case.merge.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ <h3 class="modal-title">Merge Case #{{dialog.caze.caseId}}</h3>
<div class="modal-body merge-dialog">
<div class="input-group input-group-lg search-field">
<input type="text"
placeholder="{{dialog.search.placeholder}}"
ng-model="dialog.search.input"
typeahead-wait-ms="500"
typeahead="caze as dialog.format(caze) for caze in dialog.getCaseByTitle(dialog.search.type, $viewValue)"
typeahead-min-length="dialog.search.minInputLength"
typeahead-on-select="dialog.onSelect($item)"
placeholder="{{dialog.search.placeholder}}"
ng-model="dialog.search.input"
uib-typeahead="caze as dialog.format(caze) for caze in dialog.getCaseByTitle(dialog.search.type, $viewValue)"
typeahead-wait-ms="500"
typeahead-min-length="dialog.search.minInputLength"
typeahead-on-select="dialog.onSelect($item)"
class="form-control">

<span class="input-group-addon">
<input type="radio" name="search-type" ng-model="dialog.search.type" value="title" ng-change="dialog.onTypeChange('title')"> By Title
<input type="radio" name="search-type" ng-model="dialog.search.type" value="number" ng-change="dialog.onTypeChange('number')"> By Number
</span>

</div>

<div class="empty-message mv-s" ng-show="dialog.search.cases.length === 0">
Expand Down

0 comments on commit 9666131

Please sign in to comment.