File tree 1 file changed +4
-7
lines changed
app/code/Magento/GiftMessage/view/frontend/web/template
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 12
12
< div class ="gift-options-content ">
13
13
< fieldset class ="fieldset ">
14
14
< div class ="field field-to ">
15
- < label for =" gift-message-whole-to " class ="label ">
15
+ < label data-bind =" attr: {for: ' gift-message-whole-to-' + index } " class ="label ">
16
16
< span data-bind ="i18n: 'To:' "> </ span >
17
17
</ label >
18
18
< div class ="control ">
19
19
< input type ="text "
20
- id ="gift-message-whole-to "
21
20
class ="input-text "
22
- data-bind ="value: getObservable('recipient') ">
21
+ data-bind ="value: getObservable('recipient'), attr: { id: 'gift-message-whole-to-' + index } ">
23
22
</ div >
24
23
</ div >
25
24
26
25
< div class ="field field-from ">
27
- < label for =" gift-message-whole-from " class ="label ">
26
+ < label data-bind =" attr: {for: ' gift-message-whole-from-' + index } " class ="label ">
28
27
< span data-bind ="i18n: 'From:' "> </ span >
29
28
</ label >
30
29
< div class ="control ">
31
30
< input type ="text "
32
- id ="gift-message-whole-from "
33
31
class ="input-text "
34
- data-bind ="value: getObservable('sender') ">
32
+ data-bind ="value: getObservable('sender'), attr: { id: 'gift-message-whole-from-' + index } ">
35
33
</ div >
36
34
</ div >
37
35
< div class ="field text ">
46
44
</ div >
47
45
</ div >
48
46
</ fieldset >
49
-
50
47
</ div >
51
48
</ div >
52
49
<!-- /ko -->
You can’t perform that action at this time.
0 commit comments