I have a search field at the top, which is just a filter, like this:
<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 catching ng-model="q"
and filtering on:
<div class="card" ng-repeat="item in ofertass | filter:q | orderBy:someModel | unique: 'cadastra_oferta_cod_oferta'" ng-init="$last ? fireEvent() : null">
It works very well, but the client wants to close the keyboard by clicking the "Go" or "OK" button on the keyboard. How can I do this?
This filter is already filtering automatically. And it's not a form, it's just an input text.