CreateComboBoxForm
function CreateComboBoxForm(oFormPr: ComboBoxFormPr = null): ApiComboBoxForm
Description
Creates a combo box / dropdown list with the specified combo box / dropdown list properties.
Parameters
Combo box / dropdown list properties.
Returns
ApiComboBoxForm
Try It
var oDocument = Api.GetDocument();
var oComboBoxForm = Api.CreateComboBoxForm({"key": "Personal information", "tip": "Choose your country", "required": true, "placeholder": "Country", "editable": false, "autoFit": false, "items": ["Latvia", "USA", "UK"]});
var oParagraph = oDocument.GetElement(0);
oParagraph.AddElement(oComboBoxForm);