DsPdfJS API - v9.1.0
    Preparing search index...

    Type Alias ComboBoxFieldProperties

    ComboBoxFieldProperties: ChoiceFieldProperties & {
        defaultText?: string;
        defaultValue?: number;
        editable?: boolean;
        text?: string;
        type: "combobox";
        value?: number;
    }

    Defines properties of a ComboBoxField.

    Type Declaration

    • OptionaldefaultText?: string

      The default value of this ComboBoxField as a string.

      The behavior varies based on the 'editable' property:

      • When 'editable' is false: returns the text of the selected item from the 'items' collection
      • When 'editable' is true: allows getting/setting any custom string value, regardless of the 'items' collection
    • OptionaldefaultValue?: number

      The default value of ComboBoxField, value is specified as index of selected item.

    • Optionaleditable?: boolean

      Indicating whether the combo box includes an editable text box as well as a drop-down list.

    • Optionaltext?: string

      The string value of this ComboBoxField.

      The behavior varies based on the 'editable' property:

      • When 'editable' is false: returns the text of the selected item from the 'items' collection
      • When 'editable' is true: allows getting/setting any custom string value, regardless of the 'items' collection
    • type: "combobox"
    • Optionalvalue?: number

      The value of ComboBoxField, value is specified as index of selected item.