From 094fb561b8e6f826655b84f30434b3dfc9258fa5 Mon Sep 17 00:00:00 2001 From: Jason Safaiyeh Date: Wed, 21 Jul 2021 16:08:32 -0700 Subject: [PATCH 1/4] Add docs for new autoCompleteTypes --- docs/textinput.md | 44 ++++++++++++++++++++++++++++++++++---------- 1 file changed, 34 insertions(+), 10 deletions(-) diff --git a/docs/textinput.md b/docs/textinput.md index be554eac4a9..eec25f98030 100644 --- a/docs/textinput.md +++ b/docs/textinput.md @@ -134,23 +134,47 @@ Specifies autocomplete hints for the system, so it can provide autofill. On Andr Possible values for `autoCompleteType` are: -- `off` -- `username` -- `password` -- `email` -- `name` -- `tel` -- `street-address` -- `postal-code` -- `cc-number` +- `birthdate-day` +- `birthdate-full` +- `birthdate-month` +- `birthdate-year` - `cc-csc` - `cc-exp` +- `cc-exp-day` - `cc-exp-month` - `cc-exp-year` +- `cc-number` +- `email` +- `gender` +- `name` +- `name-family` +- `name-given` +- `name-middle` +- `name-middle-initial` +- `name-prefix` +- `name-suffix` +- `password` +- `password-new` +- `postal-address` +- `postal-address-country` +- `postal-address-extended` +- `postal-address-extended-postal-code` +- `postal-address-locality` +- `postal-address-region` +- `postal-code` +- `street-address` +- `sms-otp` +- `tel` +- `tel-country-code` +- `tel-national` +- `tel-device` +- `username` +- `username-new` +- `off` | 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 | +| enum('birthdate-day', 'birthdate-full', 'birthdate-month', 'birthdate-year','cc-csc', 'cc-exp', 'cc-exp-day', 'cc-exp-month', 'cc-exp-year', 'cc-number','email', 'gender', 'name', 'name-family', 'name-given', 'name-middle', 'name-middle-initial', 'name-prefix', 'name-suffix', 'password', 'password-new', 'postal-address', 'postal-address-country', 'postal-address-extended', 'postal-address-extended-postal-code', 'postal-address-locality', 'postal-address-region', 'postal-code', 'street-address', 'sms-otp', 'tel', 'tel-country-code', 'tel-national', 'tel-device', 'username', 'username-new', 'off') | No | Android | --- From 067dbc214fea31643723e1b495e61b9ba2db7d6d Mon Sep 17 00:00:00 2001 From: Jason Safaiyeh Date: Wed, 21 Jul 2021 16:10:09 -0700 Subject: [PATCH 2/4] Fix spaces --- docs/textinput.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/textinput.md b/docs/textinput.md index eec25f98030..fb459139e6b 100644 --- a/docs/textinput.md +++ b/docs/textinput.md @@ -174,7 +174,7 @@ Possible values for `autoCompleteType` are: | Type | Required | Platform | | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- | -------- | -| enum('birthdate-day', 'birthdate-full', 'birthdate-month', 'birthdate-year','cc-csc', 'cc-exp', 'cc-exp-day', 'cc-exp-month', 'cc-exp-year', 'cc-number','email', 'gender', 'name', 'name-family', 'name-given', 'name-middle', 'name-middle-initial', 'name-prefix', 'name-suffix', 'password', 'password-new', 'postal-address', 'postal-address-country', 'postal-address-extended', 'postal-address-extended-postal-code', 'postal-address-locality', 'postal-address-region', 'postal-code', 'street-address', 'sms-otp', 'tel', 'tel-country-code', 'tel-national', 'tel-device', 'username', 'username-new', 'off') | No | Android | +| enum('birthdate-day', 'birthdate-full', 'birthdate-month', 'birthdate-year', 'cc-csc', 'cc-exp', 'cc-exp-day', 'cc-exp-month', 'cc-exp-year', 'cc-number', 'email', 'gender', 'name', 'name-family', 'name-given', 'name-middle', 'name-middle-initial', 'name-prefix', 'name-suffix', 'password', 'password-new', 'postal-address', 'postal-address-country', 'postal-address-extended', 'postal-address-extended-postal-code', 'postal-address-locality', 'postal-address-region', 'postal-code', 'street-address', 'sms-otp', 'tel', 'tel-country-code', 'tel-national', 'tel-device', 'username', 'username-new', 'off') | No | Android | --- From 210ba9ce9857223de26e647373ee57ce8766ce97 Mon Sep 17 00:00:00 2001 From: Jason Safaiyeh Date: Wed, 21 Jul 2021 16:20:31 -0700 Subject: [PATCH 3/4] lint changes --- docs/textinput.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/textinput.md b/docs/textinput.md index fb459139e6b..4cca9bed160 100644 --- a/docs/textinput.md +++ b/docs/textinput.md @@ -172,8 +172,8 @@ Possible values for `autoCompleteType` are: - `username-new` - `off` -| Type | Required | Platform | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- | -------- | +| Type | Required | Platform | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | -------- | | enum('birthdate-day', 'birthdate-full', 'birthdate-month', 'birthdate-year', 'cc-csc', 'cc-exp', 'cc-exp-day', 'cc-exp-month', 'cc-exp-year', 'cc-number', 'email', 'gender', 'name', 'name-family', 'name-given', 'name-middle', 'name-middle-initial', 'name-prefix', 'name-suffix', 'password', 'password-new', 'postal-address', 'postal-address-country', 'postal-address-extended', 'postal-address-extended-postal-code', 'postal-address-locality', 'postal-address-region', 'postal-code', 'street-address', 'sms-otp', 'tel', 'tel-country-code', 'tel-national', 'tel-device', 'username', 'username-new', 'off') | No | Android | --- From 946c27e3accf98d7d18a9766f42b80ab8c4924b9 Mon Sep 17 00:00:00 2001 From: Bartosz Kaszubowski Date: Tue, 17 Aug 2021 20:13:00 +0200 Subject: [PATCH 4/4] update table after platform labels refactor --- docs/textinput.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/textinput.md b/docs/textinput.md index e6b4f136781..153988c6c68 100644 --- a/docs/textinput.md +++ b/docs/textinput.md @@ -174,9 +174,9 @@ Possible values for `autoComplete` are: - `username-new` - `off` -| Type | Required | Platform | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | -------- | -| enum('birthdate-day', 'birthdate-full', 'birthdate-month', 'birthdate-year', 'cc-csc', 'cc-exp', 'cc-exp-day', 'cc-exp-month', 'cc-exp-year', 'cc-number', 'email', 'gender', 'name', 'name-family', 'name-given', 'name-middle', 'name-middle-initial', 'name-prefix', 'name-suffix', 'password', 'password-new', 'postal-address', 'postal-address-country', 'postal-address-extended', 'postal-address-extended-postal-code', 'postal-address-locality', 'postal-address-region', 'postal-code', 'street-address', 'sms-otp', 'tel', 'tel-country-code', 'tel-national', 'tel-device', 'username', 'username-new', 'off') | No | Android | +| Type | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| enum('birthdate-day', 'birthdate-full', 'birthdate-month', 'birthdate-year', 'cc-csc', 'cc-exp', 'cc-exp-day', 'cc-exp-month', 'cc-exp-year', 'cc-number', 'email', 'gender', 'name', 'name-family', 'name-given', 'name-middle', 'name-middle-initial', 'name-prefix', 'name-suffix', 'password', 'password-new', 'postal-address', 'postal-address-country', 'postal-address-extended', 'postal-address-extended-postal-code', 'postal-address-locality', 'postal-address-region', 'postal-code', 'street-address', 'sms-otp', 'tel', 'tel-country-code', 'tel-national', 'tel-device', 'username', 'username-new', 'off') | ---