value

sets the initial value for a control

string|number|boolean value;

Example

rows:[
    { view:"text", name:"country", label:"Country", value:"Belarus" },
    { 
        view:"combo", value:1, options:[ 
            { id:1, value:"Banana" },
            { id:2, value:"Papaya" }, 
            { id:3, value:"Apple" }
        ]
    },
    { view:"button", css:"webix_primary", value:"Submit data"}
]

Related samples

Details

Possible values are:

  • 1/"1"/true - to check a box initially
  • 0/"0"/false - to uncheck a box initially
See also
Back to top