From 6b36b42f47bbcf187afb324976c547dc3c23627b Mon Sep 17 00:00:00 2001 From: Seghir Nadir Date: Mon, 19 Aug 2024 18:05:19 +0200 Subject: [PATCH] Add email type to email field in Checkout block (#48611) * add email type to email field in Checkout block * Add changefile(s) from automation for the following project(s): woocommerce * fix changelog --------- Co-authored-by: github-actions --- plugins/woocommerce/changelog/add-type-to-email-field | 4 ++++ .../woocommerce/src/Blocks/Domain/Services/CheckoutFields.php | 1 + 2 files changed, 5 insertions(+) create mode 100644 plugins/woocommerce/changelog/add-type-to-email-field diff --git a/plugins/woocommerce/changelog/add-type-to-email-field b/plugins/woocommerce/changelog/add-type-to-email-field new file mode 100644 index 00000000000..cec5da4722d --- /dev/null +++ b/plugins/woocommerce/changelog/add-type-to-email-field @@ -0,0 +1,4 @@ +Significance: patch +Type: enhancement + +Add email type to Checkout block email field. diff --git a/plugins/woocommerce/src/Blocks/Domain/Services/CheckoutFields.php b/plugins/woocommerce/src/Blocks/Domain/Services/CheckoutFields.php index ab9e4c19279..dcf2e0351f8 100644 --- a/plugins/woocommerce/src/Blocks/Domain/Services/CheckoutFields.php +++ b/plugins/woocommerce/src/Blocks/Domain/Services/CheckoutFields.php @@ -508,6 +508,7 @@ class CheckoutFields { 'hidden' => false, 'autocomplete' => 'email', 'autocapitalize' => 'none', + 'type' => 'email', 'index' => 0, ], 'country' => [