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:
parent
19f67bfa1b
commit
17c4d4c84e
3 changed files with 4 additions and 4 deletions
|
@ -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">
|
||||
|
|
Reference in a new issue