Skip to main content


specifies the values that will appear in the input on initialization of the combobox

value?: string | string[];


var combobox = new dhx.Combobox("combobox", {    multiselection: true,    value: ["austria", "estonia"] /*!*/});
// orvar combobox = new dhx.Combobox("combobox", {    value: "austria" /*!*/});

Related sample: Combobox. Initial Value

  • If multiselection:true is set for a combo, the property takes an array of string values as:
    value: ["1","2","3"];
  • If multiselection:false is set or the multiselection config is not defined, the property gets either of the two values: value:"1" or value: ["1"].

Change log:

added in v7.0