type

the type of the control

string type;

Values

  • text
    set by default
  • password
  • email
  • url
  • Example

    { view:"button", id:"button1", type:"form", label: "Button"}
    //
    {view:"text", label:"text", type:"password", align:"left"}

    Details

    The parameter can take only one of a predefined set of values.

    'Password' type ensures that input symbols are displayed as asterisks while 'email' and 'url' are vidal for HTML5 input data validation.

    See also
  • Articles
  • Back to top