Skip to content

Commit 31bdcf5

Browse files
author
Oleksandr Dubovyk
committed
MC-20881: Checkout email input field keeps aria-invalid='true' attribute and value after successful validation
- static
1 parent d218fd1 commit 31bdcf5

File tree

1 file changed

+1
-0
lines changed
  • app/code/Magento/Checkout/view/frontend/web/js/view/form/element

1 file changed

+1
-0
lines changed

app/code/Magento/Checkout/view/frontend/web/js/view/form/element/email.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ define([
152152

153153
if (focused === false && !!this.email()) {
154154
valid = !!$(usernameSelector).valid();
155+
155156
if (valid) {
156157
$(usernameSelector).removeAttr('aria-invalid aria-describedby');
157158
}

0 commit comments

Comments
 (0)