Skip to content

TextCapitalization

Inherits: Enum

Configures how the platform keyboard will select an uppercase or lowercase keyboard.

Only supports text keyboards, other keyboard types will ignore this configuration. Capitalization is locale-aware.

Properties

  • CHARACTERS

    Uppercase keyboard for each character.

  • NONE

    Lowercase keyboard.

  • SENTENCES

    Uppercase keyboard for the first letter of each sentence.

  • WORDS

    Uppercase keyboard for the first letter of each word.

Properties#

CHARACTERS = 'characters' class-attribute instance-attribute #

Uppercase keyboard for each character.

Info

Corresponds to InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS on Android, and UITextAutocapitalizationTypeAllCharacters on iOS.

NONE = 'none' class-attribute instance-attribute #

Lowercase keyboard.

SENTENCES = 'sentences' class-attribute instance-attribute #

Uppercase keyboard for the first letter of each sentence.

Info

Corresponds to InputType.TYPE_TEXT_FLAG_CAP_SENTENCES on Android, and UITextAutocapitalizationTypeSentences on iOS.

WORDS = 'words' class-attribute instance-attribute #

Uppercase keyboard for the first letter of each word.

Info

Corresponds to InputType.TYPE_TEXT_FLAG_CAP_WORDS on Android, and UITextAutocapitalizationTypeWords on iOS.