Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions docs/textinput.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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`.
Expand Down