TextInputFormat

Supported types of text input for forms. These affect the type of the soft keyboard used when editing text fields.

Entries

Link copied to clipboard

General input format.

Link copied to clipboard

Numbers format (general numbers, phone numbers etc.). Returned for "AFNumber" JavaScript format.

Link copied to clipboard

Date format. Returned for "AFDate" JavaScript format.

Link copied to clipboard

Time format. Returned for "AFTime" JavaScript format.

Functions

Link copied to clipboard
open fun valueOf(name: String): TextInputFormat

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.