password

Password field type

Example


items: [{
  label: 'Pass',
  name: 'pass',
  type: 'password'
...

Properties

emptyText

String

Placeholder text.


...
items: [{
  label: 'Pass',
  emptyText: 'Pass',
  name: 'pass',
  type: 'password'
},{
...

events

Array

Set event handler to field.


...
items: [{
  label: 'Pass',
  emptyText: 'Pass',
  name: 'pass',
  type: 'password'
  events: [{
    change: function(){
      
    }
  }]
},{
...

label

String

Text of field.


...
items: [{
  label: 'Pass',
  name: 'pass',
  type: 'password'
},{
...

labelAlign

String

Align of label.

Values: right, left, top.


...
items: [{
  label: 'Pass',
  name: 'pass',
  type: 'password'
},{
...
left

name

String

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


...
items: [{
  label: 'Pass',
  name: 'pass',
  type: 'password'
},{
...

type

String

Type of field (value - number).


{
  label: 'Pass',
  name: 'pass',
  type: 'password'
}

value

Mixed

Value of field.


items: [{
  label: 'Pass',
  name: 'pass',
  type: 'password'
...

Events

change

(field, value)

Value of field.


items: [{
  label: 'Pass',
  name: 'pass',
  type: 'password'
  events: [{
    change: function(){
      
    },
    scope: {}//not required
  }]
...