password

Since: Editor 1.0

Password input type.
Please note - this property requires the Editor extension for DataTables.

Description

Text input using an <input type="password"> control.

Options

This field type supports the following options (in addition to the default options):

attr

Set HTML attributes on the input element. This is an object of attribute name / value pairs that are applied to the input element for the field. This makes it possible to set attributes such as maxlength and required.

Methods

This field type does not support any additional methods over the default methods.

Example

Basic initialisation:

editor.add({
	label: 'Password:',
	name: 'password',
	type: 'password'
});