4
I have a search field at the top, which is just a filter, so:
<div class="bar bar-subheader bar-light">
<label class="item item-input item-floating-label">
<i class="icon ion-search placeholder-icon"></i>
<input type="text" size="100" ng-model="q" placeholder="Procurar" ng-submit="fechaTeclado()" />
</label>
</div>
With the filter picking up the ng-model="q"
and filtering into:
<div class="card" ng-repeat="item in ofertass | filter:q | orderBy:someModel | unique: 'cadastra_oferta_cod_oferta'" ng-init="$last ? fireEvent() : null">
Which works great, but the customer wishes that by clicking on the "Go" or "OK" button on the keyboard, the same will close. How can I do this?
This filter is already filtering automatically. And it’s not a form, it’s just an input text.
This ng-Submit="closeTeclate()" was a failed attempt to close the keyboard.
– Ramos