Documentation

value

sets the initial value for a control

id value;

Example

rows:[
            { view:"text", name:"country", label:"Contry", value:"Belarus" },
            { 
                view:"combo", value:1, options:[ 
                    { id:1, value:"Banana"   },
                    { id:2, value:"Papai"   }, 
                    { id:3, value:"Apple" }
                ]
            },
            { view:"button", type:"form", value:"Submit data"}
          ]

See also

Details

All controls fall into:

  • single-value - those containing a string of a number;
  • multiple-value - those containing an array of values;

In case of multiple controls value property defines the one initially chosen.

Value of the control may be:

Back to top