Skip to content

Commit

Permalink
Fixed trim issue on email field
Browse files Browse the repository at this point in the history
  • Loading branch information
gelanivishal committed Jul 21, 2018
1 parent 92044eb commit 2e4bcf1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class="field email required">
<label for="email_address" class="label"><span><?php echo $block->escapeHtml(__('Email')) ?></span></label>
<div class="control">
<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}">
<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":{}}'>
</div>
</div>
</fieldset>
Expand Down

0 comments on commit 2e4bcf1

Please sign in to comment.