File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
app/code/Magento/SalesRule/view/frontend/web/template/payment Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 2222 < span data-bind ="i18n: 'Enter discount code' "> </ span >
2323 </ label >
2424 < div class ="control ">
25- <!-- ko ifnot: isApplied() -->
26- < input class ="input-text "
27- type ="text "
28- id ="discount-code "
29- name ="discount_code "
30- data-validate ="{'required-entry':true} "
31- data-bind ="value: couponCode, attr:{placeholder: $t('Enter discount code')} " />
32- <!-- /ko -->
33- <!-- ko if: isApplied() -->
3425 < input class ="input-text "
26+ data-bind ="attr:{disabled:isApplied()} "
3527 type ="text "
3628 id ="discount-code-applied "
3729 disabled ="disabled "
3830 name ="discount_code "
3931 data-validate ="{'required-entry':true} "
4032 data-bind ="value: couponCode, attr:{placeholder: $t('Enter discount code')} " />
41- <!-- /ko -->
4233 </ div >
4334 </ div >
4435 </ div >
You can’t perform that action at this time.
0 commit comments