Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

iOS: How to add button on KeyboardAccessoryBar

$
0
0

I'm using bellow html to render select tag

<label class="item item-input item-select " ng-class="selectstatusbar()">
    <select ng-options="candidateStatus as candidateStatus.name for candidateStatus in candidateCrrStatus"
            ng-change="changeValue(selectStatus)" class="status-item-select" ng-model="selectStatus">
    </select>
</label>

I've also set the following in app.js
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false);

As a result, I see 'Done' button on accessory bar. I need to add 'Cancel' button as well, which should just close keyboard. How do I do that?

If adding button in not possible, how do I close the keyboard? Tapping outside the keyboard area results in tap action on the background list view and it takes me to detail view of the item tapped.


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>