Skip to content

Commit ba4f21f

Browse files
ENGCOM-2453: [Backport] Trim issue on customer confirmation form #16986
- Merge Pull Request #16986 from gelanivishal/magento2:2.1-develop-PR-port-16595 - Merged commits: 1. 2e4bcf1
2 parents 234e90b + 2e4bcf1 commit ba4f21f

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)