Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 1888b1e

Browse files
dankhrapiyushgelanivishal
authored andcommitted
Trim email address in checkout page login form
1 parent f00c37a commit 1888b1e

File tree

1 file changed

+2
-1
lines changed
  • app/code/Magento/Checkout/view/frontend/web/template/form/element

1 file changed

+2
-1
lines changed

app/code/Magento/Checkout/view/frontend/web/template/form/element/email.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
type="email"
2323
data-bind="
2424
textInput: email,
25-
hasFocus: emailFocused"
25+
hasFocus: emailFocused,
26+
mageInit: {'mage/trim-input':{}}"
2627
name="username"
2728
data-validate="{required:true, 'validate-email':true}"
2829
id="customer-email" />

0 commit comments

Comments
 (0)