From e652d5f35c6298d66eadd4d3ce14f37e6f74022e Mon Sep 17 00:00:00 2001 From: nikita puzanenko Date: Wed, 30 Aug 2023 14:12:32 -0500 Subject: [PATCH] feat(storefront): PSE-805 Add autocomplete to common input fields --- CHANGELOG.md | 1 + templates/components/account/edit-account.html | 8 ++++---- templates/components/cart/shipping-estimator.html | 2 +- templates/components/common/subscription-form.html | 1 + 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f2ea897af6..4a573c309a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Replace Twitter logo with X logo within social sharing and social link components [#2387](https://github.com/bigcommerce/cornerstone/pull/2387) - Added nvm config [#2389](https://github.com/bigcommerce/cornerstone/pull/2389) - Displaying the Hidden cart_order_source Input Field on PDP page [#2392](https://github.com/bigcommerce/cornerstone/pull/2392) +- Adding autocomplete to common input fields ## 6.12.0 (07-06-2023) - sync package lock file [#2373](https://github.com/bigcommerce/cornerstone/pull/2373) diff --git a/templates/components/account/edit-account.html b/templates/components/account/edit-account.html index 19fc9d06dd..ce560ab78a 100644 --- a/templates/components/account/edit-account.html +++ b/templates/components/account/edit-account.html @@ -10,26 +10,26 @@ {{lang 'account.settings.first_name' }} {{lang 'common.required' }} - +
- +
- +
- +
{{#each forms.edit_account.fields}} {{{dynamicComponent 'components/common/forms'}}} diff --git a/templates/components/cart/shipping-estimator.html b/templates/components/cart/shipping-estimator.html index e1b98c2f27..e1e9655b2f 100644 --- a/templates/components/cart/shipping-estimator.html +++ b/templates/components/cart/shipping-estimator.html @@ -65,7 +65,7 @@
- +
diff --git a/templates/components/common/subscription-form.html b/templates/components/common/subscription-form.html index 27b8149bdf..555d9d6201 100644 --- a/templates/components/common/subscription-form.html +++ b/templates/components/common/subscription-form.html @@ -17,6 +17,7 @@ placeholder="{{lang 'newsletter.email_placeholder'}}" aria-describedby="alertBox-message-text" aria-required="true" + autocomplete="email" required >