hidden

Hidden field type

Example


items: [{
  type: 'hidden',
  name: 'param',
  value: true
},{
...

Properties

events

Array

Set event handler to field.


...
items: [{
  type: 'hidden',
  name: 'param',
  value: true,
  events: [{
    change: function(){
      
    }
  }]
},{
...

name

String

Name of field over which it is possible to get value of field.


...
items: [{
  type: 'hidden',
  name: 'param',
  value: true
},{
...

type

String

Type of field (value - hidden).


{
  type: 'hidden',
  name: 'param',
  value: true
}

value

Boolean

Value of field.


items: [{
  type: 'hidden',
  name: 'param',
  value: true
...

Events

change

(field, value)

Value of field.


items: [{
  type: 'hidden',
  name: 'param',
  value: true,
  events: [{
    change: function(){
      
    },
    scope: {}//not required
  }]
...