Commit 842cf48
authored
Ensure that input IDs are unique on the checkout page (#643)
Without this change, clicking an input field in the "Kiadás hozzáadása"
section would trigger the respective field in the "Bevétel hozzáadása"
section, as the IDs of the input fields were the same.
This commit adds prefixes to the IDs to indicate which form they belong
to, while keeping the old "name" attributes to avoid having to change
the backend code.1 parent a7169ed commit 842cf48
File tree
2 files changed
+7
-7
lines changed- resources/views/utils/checkout
2 files changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments