Enum sap.m.InputTypeModule: sap/m/library


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.

Field Summary
sap.m.InputType.EmailA text field for specifying an email address.
sap.m.InputType.NumberA text field for specifying a number.
sap.m.InputType.PasswordPassword input where the user entry cannot be seen.
sap.m.InputType.TelA text field for specifying a phone number.
sap.m.InputType.Textdefault (text)
sap.m.InputType.UrlA text field for specifying a URL.
sap.m.InputType.DateAn input control for specifying a date value.
sap.m.InputType.DatetimeAn input control for specifying a date and time value.
sap.m.InputType.DatetimeLocaleAn input control for specifying a date and time value where the format depends on the locale.
sap.m.InputType.MonthAn input control for selecting a month.
sap.m.InputType.TimeAn input control for specifying a time value.
sap.m.InputType.WeekAn input control for selecting a week.
Field Detail
sap.m.InputType.Email: string
A text field for specifying an email address. Brings up a keyboard optimized for email address entry.
sap.m.InputType.Number: string
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: string
Password input where the user entry cannot be seen.
sap.m.InputType.Tel: string
A text field for specifying a phone number. Brings up a phone pad keyboard.
sap.m.InputType.Text: string
default (text)
sap.m.InputType.Url: string
A text field for specifying a URL. Brings up a keyboard optimized for URL entry.
sap.m.InputType.Date: string
An input control for specifying a date value. The user can select a month, day of the month, and year.
Deprecated:
Since version 1.9.1. Please use sap.m.DateTimeInput control with type "Date" to create date input.
sap.m.InputType.Datetime: string
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:
Since version 1.9.1. Please use dedicated sap.m.DateTimeInput control with type "DateTime" to create date-time input.
sap.m.InputType.DatetimeLocale: string
An input control for specifying a date and time value where the format depends on the locale.
Deprecated:
Since version 1.9.1. Please use dedicated sap.m.DateTimeInput control with type "DateTime" to create date-time input.
sap.m.InputType.Month: string
An input control for selecting a month.
Deprecated:
Since version 1.9.1. There is no cross-platform support. Please do not use this Input type.
sap.m.InputType.Time: string
An input control for specifying a time value. The user can select the hour, minute, and optionally AM or PM.
Deprecated:
Since version 1.9.1. Please use dedicated sap.m.DateTimeInput control with type "Time" to create time input.
sap.m.InputType.Week: string
An input control for selecting a week.
Deprecated:
Since version 1.9.1. There is no cross-platform support. Please do not use this Input type.