sap.m.MultiComboBox
experience.sap.com
Intro 介绍
The multi-combo boxcontrol is commonly used to enable users to select one or more options from a predefined list. The control provides an editable input field to filter the list, and a dropdown arrow to open the list of available options. The select options in the list have checkboxes that permit multi-selection.
多组合框控件通常用于使用户能够从预定义的列表中选择一个或多个选项。该控件提供一个可编辑的输入字段来筛选列表,以及一个下拉箭头来打开可用选项列表。列表中的选择选项具有允许多重选择的复选框。
Usage 用法
Use the multi-combo box if: 使用多重组合框如果:
- The user needs to select one or more options from a long list of options (maximum of approximately 200).
- 用户需要从一长串选项中选择一个或多个选项(最多约200个)。
- The values of the option list contain secondary information that does not need to be displayed right away.
- 选项列表的值包含不需要立即显示的辅助信息。
Do not use the multi-combo box if: 不要使用多重组合框,如果:
- The user needs to choose between two options, such as ON or OFF and YES or NO. In this case, consider using a switch control instead.
- 用户需要在两个选项之间进行选择,例如 ON 或 OFF 以及 YES 或 NO。在这种情况下,可以考虑使用开关控件。
- You need to display more than one attribute. In this case, consider using the select dialog or value help dialog instead.
- 您需要显示多个属性。在这种情况下,考虑改用选择对话框或值帮助对话框。
- The user needs to search on multiple attributes. In this case, consider using the select dialog or value help dialog instead.
- 用户需要搜索多个属性。在这种情况下,考虑改用选择对话框或值帮助对话框。
- Your use case requires all available options to be displayed right away, without any user interaction. In this case, consider using checkboxes instead_._
- 您的用例需要立即显示所有可用的选项,而不需要任何用户交互。在这种情况下,考虑改用复选框。