enum sap.m.InputType

Control sample: sap.m.InputType
Visiblity: public
Available since: N/A
Module: sap/m/library
Application Component: CA-UI5-CTR

A subset of input types that fits to a simple API returning one string.

Not available on purpose: button, checkbox, hidden, image, password, radio, range, reset, search, submit.


Properties Overview

Node Description
sap.m.InputType.Date

An input control for specifying a date value. The user can select a month, day of the month, and year.
Deprecated as of version 1.9.1. Please use dedicated sap.m.DatePicker to create date input.

sap.m.InputType.Datetime

An input control for specifying a date and time value. The user can select a month, day of the month, year, and time of day.
Deprecated as of version 1.9.1. Please use dedicated sap.m.DateTimePicker control to create date-time input.

sap.m.InputType.DatetimeLocale

An input control for specifying a date and time value where the format depends on the locale.
Deprecated as of version 1.9.1. Please use dedicated sap.m.DateTimePicker control create date-time input.

sap.m.InputType.Email

A text field for specifying an email address. Brings up a keyboard optimized for email address entry.

sap.m.InputType.Month

An input control for selecting a month.
Deprecated as of version 1.9.1. There is no cross-platform support. Please do not use this Input type.

sap.m.InputType.Number

A text field for specifying a number. Brings up a number pad keyboard. Specifying an input type of \d* or [0-9]* is equivalent to using this type.

sap.m.InputType.Password

Password input where the user entry cannot be seen.

sap.m.InputType.Tel

A text field for specifying a phone number. Brings up a phone pad keyboard.

sap.m.InputType.Text

default (text)

sap.m.InputType.Time

An input control for specifying a time value. The user can select the hour, minute, and optionally AM or PM.
Deprecated as of version 1.9.1. Please use dedicated sap.m.TimePicker control to create time input.

sap.m.InputType.Url

A text field for specifying a URL. Brings up a keyboard optimized for URL entry.

sap.m.InputType.Week

An input control for selecting a week.
Deprecated as of version 1.9.1. There is no cross-platform support. Please do not use this Input type.