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 <github-actions@github.com>
This commit is contained in:
Seghir Nadir 2024-08-19 18:05:19 +02:00 committed by GitHub
parent 99d8b9bf42
commit 6b36b42f47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: enhancement
Add email type to Checkout block email field.

View File

@ -508,6 +508,7 @@ class CheckoutFields {
'hidden' => false, 'hidden' => false,
'autocomplete' => 'email', 'autocomplete' => 'email',
'autocapitalize' => 'none', 'autocapitalize' => 'none',
'type' => 'email',
'index' => 0, 'index' => 0,
], ],
'country' => [ 'country' => [