Skip to content

Commit 472c141

Browse files
committed
Trim email address in customer authentication popup
1 parent bfce026 commit 472c141

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/code/Magento/Customer/view/frontend/web/js/model/authentication-popup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ define([
3434

3535
/** Show login popup window */
3636
showModal: function () {
37-
$(this.modalWindow).modal('openModal');
37+
$(this.modalWindow).modal('openModal').trigger('contentUpdated');
3838
}
3939
};
4040
});

app/code/Magento/Customer/view/frontend/web/template/authentication-popup.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
id="customer-email"
6161
type="email"
6262
class="input-text"
63+
data-mage-init='{"mage/trim-input":{}}'
6364
data-bind="attr: {autocomplete: autocomplete}"
6465
data-validate="{required:true, 'validate-email':true}">
6566
</div>

0 commit comments

Comments
 (0)