Skip to content
PHP Ecosystem
Explore

InputMode

API reference › HTML Attribute › Values › InputMode

enumUIAwesome\Html\Attribute\Values\InputMode
Backed bystring
Sourcesrc/Values/InputMode.php

Represents values for the HTML inputmode attribute.

See also: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode.

CaseValueDescription
DECIMAL'decimal'decimal - Fractional numeric input keyboard containing the digits and decimal separator.
EMAIL'email'email - Virtual keyboard optimized for entering email addresses.
NONE'none'none - No virtual keyboard.
NUMERIC'numeric'numeric - Numeric input keyboard, but only requires the digits 0–9.
SEARCH'search'search - Virtual keyboard optimized for search input.
TEL'tel'tel - Telephone keypad input, including the digits 0–9, the asterisk (*), and the pound (#) key.
TEXT'text'text - Standard text input keyboard.
URL'url'url - Virtual keyboard optimized for entering URLs.