[Autocomplete] Clicking the arrow will display the entire list of timezones

This change is based on the  following code review:
- Display the entire list of timezones, regardless of what's currently entered.
- As soon as the user typed (or deleted chars in the input) then that filtration would take over the list display
This commit is contained in:
Dhrubomoy Das Gupta
2017-06-06 18:55:16 -04:00
parent 98cc19c637
commit 3870266131
4 changed files with 26 additions and 12 deletions

View File

@@ -21,13 +21,15 @@
-->
<div ng-controller="AutocompleteController"
class='form-control autocomplete' >
<input type="text"
class='form-control autocomplete'>
<input class="autocompleteInput"
type="text"
ng-model="ngModel[field]"
ng-change="filterOptions(ngModel[field])"
ng-click="inputClicked($event)"
ng-keydown="keyDown($event)"/>
<span class="icon-arrow-down"></span>
<span class="icon-arrow-down"
ng-click="arrowClicked()"></span>
<div class="autocompleteOptions"
onload="hideOptions = false"
ng-hide="hideOptions"