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
    Join Our Forum
    We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.