gpt4 book ai didi

HTML 选择 "Done"标签未在 Ionic for iOS 上显示

转载 作者:太空狗 更新时间:2023-10-29 13:42:37 25 4
gpt4 key购买 nike

我正在使用 Ionic 框架构建一个 iOS 应用程序。当我使用 select-elements 时,在 iOS-native 的菜单中选择项目时,我没有得到带有“完成”标签的标题。但是,当我在 iOS/Safari 中使用该应用程序时,它会出现。附上截图和代码。对此的任何输入/解决方案将不胜感激。

截图:

iOS Safari 截图 iOS Safari Screenshot

iOS Native/Ionic 截图 iOS Native/Ionic Screenshot

标记

<label class="item item-input item-select">
<div class="input-label">
Bostadstyp
</div>
<select ng-change="addParam('objectType', selectedHouseType)" ng-model="selectedHouseType" ng-options="houseType.id as houseType.label for houseType in houseTypes"></select>
</label>

最佳答案

Ionic 应用程序在 app.js 中包含隐藏键盘附件栏的默认代码,您需要注释以下行:cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);

得到这样的东西:

// Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
// for form inputs)
if (window.cordova && window.cordova.plugins.Keyboard) {
//cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
cordova.plugins.Keyboard.disableScroll(true);

}

关于HTML 选择 "Done"标签未在 Ionic for iOS 上显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31853364/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com