angular - 行动表条目限制为 5 个
问题描述
选择中的多选操作表将条目限制为 5 个元素。为什么?我正在使用 ion-select 的文档代码示例进行测试。仅考虑前 5 个选项。
它适用于单选(界面“popover”),但多选 multi="true" 失败,无论是界面“popover”还是“action-sheet”
<ion-item>
<ion-label>Toppings</ion-label>
<ion-select multiple="true" cancelText="Nah" okText="Okay!">
<ion-select-option value="bacon">Bacon</ion-select-option>
<ion-select-option value="olives">Black Olives</ion-select-option>
<ion-select-option value="xcheese">Extra Cheese</ion-select-option>
<ion-select-option value="peppers">Green Peppers</ion-select-option>
<ion-select-option value="mushrooms">Mushrooms</ion-select-option>
<ion-select-option value="onions">Onions</ion-select-option>
<ion-select-option value="pepperoni">Pepperoni</ion-select-option>
<ion-select-option value="pineapple">Pineapple</ion-select-option>
<ion-select-option value="sausage">Sausage</ion-select-option>
<ion-select-option value="Spinach">Spinach</ion-select-option>
</ion-select>
</ion-item>
</ion-list>
我希望看到 10 个条目,在这个例子中
解决方案
推荐阅读
- signalr - 如何在 Hub 中获取 AspNet Core SignalR 传输协议?
- java - Java中LocalDate属性的编译问题?
- xamarin - 分段控件选定索引在 Xamarin 表单中始终显示 0
- android - 无法将 GeoFirestore 库包含到项目中
- python - ttk treeview 未填写 'y' 方向
- angular - Gitlab CI 不会将 Angular 应用程序提供给暂存环境
- node.js - IBM API Connect“XML 到 JSON”策略附加 $ char 并且不提供预期的 JSON
- json - 需要帮助使用 PowerShell 解析 JSON
- javascript - Javascript:在 for 循环期间构建的数组的顺序重置
- xpages - xpage:document1 未定义