Skip to content

Commit 3f93713

Browse files
committed
ACP2E-2428: Coupon code whitespace issue in checkout page
- static issues
1 parent 95cceac commit 3f93713

File tree

1 file changed

+1
-0
lines changed
  • app/code/Magento/SalesRule/view/frontend/web/js/view/payment

1 file changed

+1
-0
lines changed

app/code/Magento/SalesRule/view/frontend/web/js/view/payment/discount.js

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

6464
$(form + ' input[type="text"]').each(function () {
6565
let currentValue = $(this).val();
66+
6667
$(this).val(currentValue.trim());
6768
});
6869
return $(form).validation() && $(form).validation('isValid');

0 commit comments

Comments
 (0)