InputType #

Enum for HTML input types.

API #

Enum values #

Name Value Description
Text 0 The default value. A single-line text field. Line-breaks are automatically removed from the input value.
Email 1 A field for editing an email address. Looks like a InputType.Text input, but has validation parameters and relevant keyboard in supporting browsers and devices with dynamic keyboards.
Password 2 A single-line text field whose value is obscured. Will alert user if site is not secure.
Search 3 A single-line text field for entering search strings. Line-breaks are automatically removed from the input value. May include a delete icon in supporting browsers that can be used to clear the field. Displays a search icon instead of enter key on some devices with dynamic keypads.
Tel 4 A control for entering a telephone number. Displays a telephone keypad in some devices with dynamic keypads.
Url 5 A field for entering a URL. Looks like a InputType.Text input, but has validation parameters and relevant keyboard in supporting browsers and devices with dynamic keyboards.
An unhandled error has occurred. Reload 🗙