ComboBoxFormPr
组合框/下拉列表属性。
类型
枚举
值
示例
此示例使用通用和特定的组合框表单属性创建组合框表单。
// How to create a combo box form with its properties.
// Create the base properties and apply them to the ApiComboBoxForm object.
let comboBoxFormPr = {
"key": "Personal information",
"tip": "Choose your country",
"required": true,
"placeholder": "Country",
"editable": false,
"autoFit": false,
"items": ["Latvia", "USA", "UK"]
};
let comboBoxForm = Api.CreateComboBoxForm(comboBoxFormPr);