Skip to content

Document TextInput API completion #2136

@kikisaints

Description

@kikisaints

The following unchecked properties are needed to complete the TextInput control integration into RNWCPP.

P1

  • autoFocus

P2

P3

  • contextMenuHidden TextInput contextMenuHidden #3088
    Not supported by XAML
  • caretHidden TextInput caretHidden #3087
    Not supported by TextBox. Is supported by RichEditBox.TextDocument.CaretType. We could maybe hack this to work in TextBox by using VisualTreeHelper.
  • autoCorrect TextInput autoCorrect #3086
  • autoCapitalize TextInput autoCapitalize #3085
    Incomplete support in XAML. This guy is an enum:
    -characters: Maps to TextBox.CharacterCasing.Upper (RS3)
    -words: Not supported
    -sentences: Not directly supported. TextBox.IsSpellCheckEnabled (Win8) turns on auto-capitalizing first word in a sentence (which maps to autoCapitalize.sentences) but this also turns on spell-checking. Also, MikeHill says: Some of the auto capitalization functionality in TextBox is behind the InputScope API.
    -none: Supported by default
  • blurOnSubmit TextInput blurOnSubmit #3084
    Not supported in XAML
  • onSubmitEditing TextInput onSubmitEditing #3083
    Needs more investigation. Mobile specific feature, is this needed?
  • returnKeyType TextInput returnKeyType #3082
    Needs more investigation. Mobile specific feature, is this needed?

Already Completed

  • clearTextOnFocus
  • defaultValue
  • editable
  • maxLength
  • multiline
  • onBlur
  • onChange
  • onChangeText
  • onContentSizeChange
  • onEndEditing
  • onFocus
  • onKeyPress
  • onLayout
  • onScroll
  • onSelectionChange
  • selection
  • selectionColor
  • selectTextOnFocus
  • value
  • allowFontScaling
    Maps to Control.IsTextScaleFactorEnabled (Phone 8.1)
  • placeholder
  • placeholderTextColor
Future
  • clearButtonMode iOS Only
  • dataDetectorTypes iOS Only
  • disabledFullscreenUI Android Only
  • enablesReturnKeyAtuomatically iOS Only
  • inlineImageLeft Android Only
  • inlineImagePadding Android Only
  • keyboardAppearance iOS Only
  • maxFontSizeMultiplier iOS Only
  • numberOfLines Android Only
  • returnKeyLabel Android Only
  • scrollEnabled iOS Only
  • selectionState iOS Only
  • spellCheck iOS Only
  • textContentType iOS Only
  • textBreakStrategy Android Only
  • underlineColorAndroid Android Only

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions