Don't clear search box on search page when a new query is submitted

Users want to be able to see the current query
This commit is contained in:
Joseph Schorr 2017-05-03 15:35:24 -04:00
parent 19f67bfa1b
commit 17c4d4c84e
3 changed files with 4 additions and 4 deletions

View file

@ -38,13 +38,12 @@
</span>
</div>
</script>
<input class="form-control" type="text" placeholder="search"
ng-model="$ctrl.enteredQuery"
typeahead="$ctrl.onTypeahead($event)"
ta-display-key="name"
ta-suggestion-tmpl="search-result-template"
ta-clear-on-select="true"
ta-clear-on-select="$ctrl.clearOnSearch"
(ta-selected)="$ctrl.onSelected($event)"
(ta-entered)="$ctrl.onEntered($event)">
<span class="search-icon">