type

the type of the input

string type;

Values

  • "text"
  • "password"
  • "email"
  • "url"
  • "number"
  • Example

    { view:"search", type:"password", label:"Search" }


    Default value:

    "text"
    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