Commit 264b4437e4636ed49f15ddf90ae9c453ae9a329f

Authored by marcenp23
1 parent ca19b8cff4
Exists in master

Agregada cruz para borrar contenido de filtro de busqueda.

src/js/controller.js
... ... @@ -651,5 +651,8 @@ angular.module('focaBusquedaCliente')
651 651 });
652 652 return result;
653 653 }
  654 + $scope.clearInput = function(){
  655 + $scope.filters = '';
  656 + }
654 657 }
655 658 ]);
src/views/foca-busqueda-cliente-modal.html
... ... @@ -37,6 +37,14 @@
37 37 teclado-virtual
38 38 ng-hide="ingreso"
39 39 >
  40 + <button
  41 + ng-show="filters.length >= 1"
  42 + type="button"
  43 + class="clear-input"
  44 + ng-click="clearInput()"
  45 + >
  46 + <i class="fa fa-times"></i>
  47 + </button>
40 48 <div class="input-group-append" ng-hide="ingreso">
41 49 <button
42 50 ladda="searchLoading"