Remove autoCompleteType as a native component prop

Summary: Changelog: [Android][Internal] - Cleanup `autoCompleteType` prop from Android native component.

Reviewed By: charlesbdudley

Differential Revision: D30057497

fbshipit-source-id: c80dd5682b314112ae70551bf8135372bb1ddc8b
This commit is contained in:
Luna Wei
2021-08-11 17:52:19 -07:00
committed by Facebook GitHub Bot
parent 27fec9569e
commit 18132c1597
3 changed files with 0 additions and 14 deletions
@@ -728,12 +728,6 @@ public class ReactTextInputManager extends BaseViewManager<ReactEditText, Layout
}
}
// TODO: T96744578 - Delete autoCompleteType prop
@ReactProp(name = "autoCompleteType")
public void setTextContentTypeDeprecated(ReactEditText view, @Nullable String autoCompleteType) {
setTextContentType(view, autoCompleteType);
}
@ReactProp(name = "autoCorrect")
public void setAutoCorrect(ReactEditText view, @Nullable Boolean autoCorrect) {
// clear auto correct flags, set SUGGESTIONS or NO_SUGGESTIONS depending on value