mirror of https://github.com/BTCPrivate/copay.git
Clean the search box when returns from another state
This commit is contained in:
parent
a8defa1377
commit
a0c9e5eba5
|
@ -49,6 +49,7 @@ angular.module('copayApp.controllers').controller('addressbookListController', f
|
|||
$scope.$on("$ionicView.beforeEnter", function(event, data) {
|
||||
$scope.isChromeApp = platformInfo.isChromeApp;
|
||||
$scope.showAddIcon = false;
|
||||
$scope.addrSearch = { value: null };
|
||||
initAddressbook();
|
||||
});
|
||||
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
<i class="icon ion-ios-search placeholder-icon"></i>
|
||||
<input type="search"
|
||||
placeholder="Search"
|
||||
ng-model="addrSearch"
|
||||
ng-change="findAddressbook(addrSearch)" ng-model-onblur>
|
||||
ng-model="addrSearch.value"
|
||||
ng-change="findAddressbook(addrSearch.value)" ng-model-onblur>
|
||||
</label>
|
||||
</div>
|
||||
<ion-list>
|
||||
|
|
Loading…
Reference in New Issue