Commit dee39a54a91b2a75efaa050c112bd573dadf942b
1 parent
a724e4b4c7
Exists in
master
and in
1 other branch
Limpiar localidad al seleccionar una nueva provincia
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
src/js/controllerCliente.js
| ... | ... | @@ -153,6 +153,8 @@ angular.module('focaAbmCliente') |
| 153 | 153 | }; |
| 154 | 154 | focaModalService.modal(parametrosModal).then(function (provincia) { |
| 155 | 155 | $scope.cliente.provincia = provincia; |
| 156 | + $scope.cliente.localidad.NOMBRE = ''; | |
| 157 | + | |
| 156 | 158 | $timeout(function () { |
| 157 | 159 | $scope.focused = 4; |
| 158 | 160 | }); |