From 065a8b723aeda21ddda87f654d5eb14365c83255 Mon Sep 17 00:00:00 2001 From: Cassio Zen Date: Mon, 8 Oct 2018 09:31:26 -0700 Subject: [PATCH] Update textinput.md with autoComplete --- docs/textinput.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/docs/textinput.md b/docs/textinput.md index deeb3826975..02a611e9693 100644 --- a/docs/textinput.md +++ b/docs/textinput.md @@ -97,6 +97,7 @@ Note that on Android performing text selection in input can change app's activit - [`allowFontScaling`](textinput.md#allowfontscaling) - [`autoCapitalize`](textinput.md#autocapitalize) +- [`autoCorrect`](textinput.md#autocomplete) - [`autoCorrect`](textinput.md#autocorrect) - [`autoFocus`](textinput.md#autofocus) - [`blurOnSubmit`](textinput.md#bluronsubmit) @@ -180,6 +181,30 @@ Can tell `TextInput` to automatically capitalize certain characters. --- +### `autoComplete` + Specifies autocomplete hints for the system, so it can provide autofill. + On Android, the system will aways attempt to offer autofill by using heuristics to identify the type of content. To disable autocomplete, set `autoComplete` to `off`. + + Possible values for `autoComplete` are: + * `off` + * `username` + * `password` + * `email` + * `name` + * `tel` + * `street-address` + * `postal-code` + * `cc-number` + * `cc-csc` + * `cc-exp` + * `cc-exp-month` + * `cc-exp-year` + + | Type | Required | Platform | +| -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | -------- | +| enum('off', 'username', 'password', 'email', 'name', 'tel', 'street-address', 'postal-code', 'cc-number', 'cc-csc', 'cc-exp', 'cc-exp-month', 'cc-exp-year') | No | Android | + --- + ### `autoCorrect` If `false`, disables auto-correct. The default value is `true`.