Skip to content

[Form] Add inputmode=email/numeric/search/tel to form types #45099

@GromNaN

Description

@GromNaN

Description

inputmode is an HTML atttibute for <input> tag that improve the UX on mobile by displaying an appropriate virtual keyboard based on the expected input. Reference on MDN

image

This attribute is already set on UrlType, only when default_protocol is configured (why?).

It should be added to other:

  • EmailType
  • NumberType
  • SearchType
  • TelType

Example

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions