Skip to content

Commit 97a1ece

Browse files
FIXED - appended payment code to ID field to make it unique
1 parent 714d31c commit 97a1ece

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Checkout/view/frontend/web/template/billing-address

1 file changed

+2
-2
lines changed

app/code/Magento/Checkout/view/frontend/web/template/billing-address/form.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
<!--/ko-->
1616
<!-- ko if: (isCustomerLoggedIn && customerHasAddresses) -->
1717
<div class="choice field">
18-
<input type="checkbox" class="checkbox" id="billing-save-in-address-book" data-bind="checked: saveInAddressBook" />
19-
<label class="label" for="billing-save-in-address-book">
18+
<input type="checkbox" class="checkbox" data-bind="checked: saveInAddressBook, attr: {id: 'billing-save-in-address-book-' + getCode($parent)}" />
19+
<label class="label" data-bind="attr: {for: 'billing-save-in-address-book-' + getCode($parent)}" >
2020
<span data-bind="i18n: 'Save in address book'"></span>
2121
</label>
2222
</div>

0 commit comments

Comments
 (0)