Skip to content

Commit

Permalink
Trim email address in newsletter subscribe form
Browse files Browse the repository at this point in the history
  • Loading branch information
dankhrapiyush committed Jul 5, 2018
1 parent 03d5c35 commit 873471a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<div class="control">
<input name="email" type="email" id="newsletter"
placeholder="<?= $block->escapeHtmlAttr(__('Enter your email address')) ?>"
data-mage-init='{"mage/trim-input":{}}'
data-validate="{required:true, 'validate-email':true}"/>
</div>
</div>
Expand Down

0 comments on commit 873471a

Please sign in to comment.