Skip to content

Commit 8487470

Browse files
RSNarafacebook-github-bot
authored andcommitted
Fix SVC for AndroidTextInput
Summary: ## SVC != NVC Failure ``` LOG SVC AndroidTextInput Invalid LOG { "missing": { "validAttributes": { "borderBottomLeftRadius": true, "borderBottomColor": { "process": "[Function processColor]" }, "borderRightColor": { "process": "[Function processColor]" }, "borderLeftColor": { "process": "[Function processColor]" }, "borderTopRightRadius": true, "borderColor": { "process": "[Function processColor]" }, "borderBottomRightRadius": true, "borderRadius": true, "borderStyle": true, "borderTopColor": { "process": "[Function processColor]" }, "borderTopLeftRadius": true } }, "unexpected": { "validAttributes": { "autoCompleteType": true } }, "unequal": [] } ``` Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D33341773 fbshipit-source-id: a3c7f043d6b2ba0e2a4253739826e6f7f68e7ca5
1 parent cb3321e commit 8487470

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

Libraries/Components/TextInput/AndroidTextInputNativeComponent.js

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,11 @@ let AndroidTextInputNativeComponent = NativeComponentRegistry.get<NativeProps>(
635635
},
636636
},
637637
},
638-
directEventTypes: {},
638+
directEventTypes: {
639+
topScroll: {
640+
registrationName: 'onScroll',
641+
},
642+
},
639643
validAttributes: {
640644
maxFontSizeMultiplier: true,
641645
adjustsFontSizeToFit: true,
@@ -666,7 +670,6 @@ let AndroidTextInputNativeComponent = NativeComponentRegistry.get<NativeProps>(
666670
keyboardType: true,
667671
multiline: true,
668672
color: {process: require('../../StyleSheet/processColor')},
669-
autoCompleteType: true,
670673
autoComplete: true,
671674
numberOfLines: true,
672675
letterSpacing: true,
@@ -694,6 +697,17 @@ let AndroidTextInputNativeComponent = NativeComponentRegistry.get<NativeProps>(
694697
inlineImageLeft: true,
695698
editable: true,
696699
fontVariant: true,
700+
borderBottomRightRadius: true,
701+
borderBottomColor: {process: require('../../StyleSheet/processColor')},
702+
borderRadius: true,
703+
borderRightColor: {process: require('../../StyleSheet/processColor')},
704+
borderColor: {process: require('../../StyleSheet/processColor')},
705+
borderTopRightRadius: true,
706+
borderStyle: true,
707+
borderBottomLeftRadius: true,
708+
borderLeftColor: {process: require('../../StyleSheet/processColor')},
709+
borderTopLeftRadius: true,
710+
borderTopColor: {process: require('../../StyleSheet/processColor')},
697711
},
698712
}),
699713
);

0 commit comments

Comments
 (0)