ComboBoxFormPrBase

type ComboBoxFormPrBase = object

Description

Specific combo box / dropdown list properties.

Properties

editablebooleandefault: null

Specifies if the combo box text can be edited.

autoFitbooleandefault: null

Specifies if the combo box form content should be autofit, i.e. whether the font size adjusts to the size of the fixed size form.

items(string | string[])[]default: null

The combo box items. This array consists of strings or arrays of two strings where the first string is the displayed value and the second one is its meaning. If the array consists of single strings, then the displayed value and its meaning are the same. Example: ["First", ["Second", "2"], ["Third", "3"], "Fourth"].

Try It

var oComboBoxFormPrBase = {"editable": false, "autoFit": false, "items": ["Latvia", "USA", "UK"]};
var oComboBoxForm = Api.CreateComboBoxForm(oComboBoxFormPrBase);

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).