BUG - 在IOS选择标签没有完成按钮 [英] BUG - No done button for select tag in IOS
本文介绍了BUG - 在IOS选择标签没有完成按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用的是最新的离子,有一个简单的选择标记。
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>
当我运行code。与离子模拟IOS
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?
推荐答案
尽管这是一个迟到的答案,我相信会有更多的人会在这里结束,而寻找一个解决这个问题。
Although this is a late answer, I'm sure more people will end up here while searching for a solution to this issue.
通过在默认情况下.RUN在app.js()的hideKeyboardAccessoryBar设置为true,所以只要找到
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);
}
并将其更改为
if (window.cordova && window.cordova.plugins.Keyboard) {
window.cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false);
}
这篇关于BUG - 在IOS选择标签没有完成按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文