Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

iOS: How to add button on KeyboardAccessoryBar

$
0
0

@sumit256 wrote:

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.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles