Skip to content

Commit ff04f26

Browse files
🔃 [EngCom] Public Pull Requests - 2.1-develop
Accepted Public Pull Requests: - #16986: [Backport] Trim issue on customer confirmation form (by @gelanivishal) Fixed GitHub Issues: - #6058: IE11 user login email validation fails if field has leading or trailing space (reported by @dnadle) has been fixed in #16986 by @gelanivishal in 2.1-develop branch Related commits: 1. 2e4bcf1
2 parents 38b16d5 + 7ea2278 commit ff04f26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Customer/view/frontend/templates/form/confirmation.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<div class="field email required">
1414
<label for="email_address" class="label"><span><?php echo $block->escapeHtml(__('Email')) ?></span></label>
1515
<div class="control">
16-
<input type="email" name="email" id="email_address" class="input-text" value="<?php echo $this->helper(\Magento\Framework\EscapeHelper::class)->escapeHtmlAttr($block->getEmail()) ?>" data-validate="{required:true, 'validate-email':true}">
16+
<input type="email" name="email" id="email_address" class="input-text" value="<?= $block->escapeHtmlAttr($block->getEmail()) ?>" data-validate="{required:true, 'validate-email':true}" data-mage-init='{"mage/trim-input":{}}'>
1717
</div>
1818
</div>
1919
</fieldset>

0 commit comments

Comments
 (0)