Issue
I'm using the latest ionic and have a simple select tag.
<select class="assertive bold" ng-change="changeQuantity({cartItem: part})" ng-model="part.quantity" ng-options="n for n in [] | range:1:101"></select>
When I run the code with ionic emulate ios
Why is there no done button for the select? Shouldn't that be default? How do I fix this to display a done button?
Solution
Although this is a late answer, I'm sure more people will end up here while searching for a solution to this issue.
By default in your app.js in .run() the hideKeyboardAccessoryBar is set to true, so just find
if (window.cordova && window.cordova.plugins.Keyboard) {
window.cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
}
and change it to
if (window.cordova && window.cordova.plugins.Keyboard) {
window.cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false);
}
Answered By - johangu
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.