Skip to content

Commit

Permalink
Ensure that each billing address form DOM element has a unique id
Browse files Browse the repository at this point in the history
  • Loading branch information
dank00 committed Jun 12, 2018
1 parent c96d017 commit ba135a4
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
8 changes: 8 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@
]
}
},
"magento/module-checkout": {
"Ensure that each billing address form DOM element has a unique id https://github.com/magento/magento2/pull/15349": {
"source" : "patches/Magento_Checkout/billing-address-form.patch",
"version" : [
"100.2.*"
]
}
},
"magento/module-configurable-product": {
"Add frontend validation for SKU on configurable product variation generation in admin panel": {
"source" : "patches/Magento_ConfigurableProduct/magento2-issue-11953.patch",
Expand Down
13 changes: 13 additions & 0 deletions patches/Magento_Checkout/billing-address-form.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/view/frontend/web/template/billing-address/form.html b/view/frontend/web/template/billing-address/form.html
index 1be754934042..00f87d325d96 100644
--- a/view/frontend/web/template/billing-address/form.html
+++ b/view/frontend/web/template/billing-address/form.html
@@ -9,7 +9,7 @@
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
<form data-bind="attr: {'data-hasrequired': $t('* Required Fields')}">
- <fieldset id="billing-new-address-form" class="fieldset address">
+ <fieldset data-bind="attr: { id:'billing-new-address-form-'+index, value:index}" class="fieldset address">
<!-- ko foreach: getRegion('additional-fieldsets') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->

0 comments on commit ba135a4

Please sign in to comment.