File tree 1 file changed +1
-10
lines changed
app/code/Magento/SalesRule/view/frontend/web/template/payment
1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 22
22
< span data-bind ="i18n: 'Enter discount code' "> </ span >
23
23
</ label >
24
24
< 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() -->
34
25
< input class ="input-text "
26
+ data-bind ="attr:{disabled:isApplied()} "
35
27
type ="text "
36
28
id ="discount-code-applied "
37
29
disabled ="disabled "
38
30
name ="discount_code "
39
31
data-validate ="{'required-entry':true} "
40
32
data-bind ="value: couponCode, attr:{placeholder: $t('Enter discount code')} " />
41
- <!-- /ko -->
42
33
</ div >
43
34
</ div >
44
35
</ div >
You can’t perform that action at this time.
0 commit comments