Skip to content

Commit

Permalink
ENGCOM-1648: Resolve Knockout non-unique elements id in console error #…
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Idolov authored Jun 2, 2018
2 parents 98cd71b + d78fd0c commit 35e79d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
<!-- 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="billing-new-address-form fieldset address">
<!-- ko foreach: getRegion('additional-fieldsets') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<element name="isPaymentSection" type="text" selector="//*[@class='opc-progress-bar']/li[contains(@class, '_active') and span[contains(.,'Review &amp; Payments')]]"/>
<element name="availablePaymentSolutions" type="text" selector="#checkout-payment-method-load>div>div>div:nth-child(2)>div.payment-method-title.field.choice"/>
<element name="notAvailablePaymentSolutions" type="text" selector="#checkout-payment-method-load>div>div>div.payment-method._active>div.payment-method-title.field.choice"/>
<element name="billingNewAddressForm" type="text" selector="#billing-new-address-form"/>
<element name="billingNewAddressForm" type="text" selector=".billing-new-address-form"/>
<element name="placeOrderDisabled" type="button" selector="#checkout-payment-method-load button.disabled"/>
<element name="update" type="button" selector=".payment-method-billing-address .action.action-update"/>
<element name="guestFirstName" type="input" selector=".billing-address-form input[name*='firstname']"/>
Expand Down

0 comments on commit 35e79d5

Please sign in to comment.