type

the type of the text input

string type;

Values

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

    { view:"text", type:"password", label:"Password" }

    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 vital for HTML5 input data validation.

    See also
  • Articles
  • Back to top