Unfocus item-input-inset


#1

How can I unfocus an input field when item-input-inset is used?
Since whenever I connected a keyboard to my iPad, deleting the content of the search field does not release the keyboard and the keyboard gets pinned at the bottom afterwards without possibility to hide :frowning:

The code is as follows:

<div class="item-input-inset">
    <div class="item-input-wrapper">
        <i class="icon ion-ios7-search placeholder-icon"></i>
        <input type="text" ng-model="view.term" placeholder="{{ 'search' | translate }}..." />
        <button ng-if="view.term.length" class="button button-icon ion-ios7-close-empty input-button" ng-click="view.term = '';"></button>
    </div>
</div>

#2

Hmm can you provide an example in a codepen? You should be able to call .blur() and remove focus from the input.