-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Milestone
Description
The following unchecked properties are needed to complete the TextInput control integration into RNWCPP.
P1
- autoFocus
P2
- secureTextEntry TextInput secureTextEntry #3081
Not directly supported by TextBox. PasswordBox has this functionality. Can we hot-swap between TextBox/PasswordBox? - keyboardType keyboardType #3080
Maps to TextBox.InputScope (Win8/Win8.1) - autoComplete TextInput autoComplete #3079
Maps to TextBox.IsSpellCheckEnabled (Win8)
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 |
|---|
|