File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change 11
11
12
12
<div class =" flex flex-col w-full gap-2" >
13
13
<div >Contacts</div >
14
- <div class =" flex flex-col gap-2" >
15
- <div v-for =" (_, index) in formik.values.contacts" :key =" index" class =" flex gap-4" >
14
+ <ol class =" flex flex-col gap-2 list-decimal list-inside" >
15
+ <li v-for =" (_, index) in formik.values.contacts" :key =" index" class =" flex gap-4" >
16
+ <span > {{ index + 1 }}. </span >
16
17
<FormInput
17
18
:name =" `contacts[${index}].code`"
18
19
type =" tel"
19
- : placeholder =" ` Enter contact number ${index + 1}` "
20
+ placeholder =" Enter contact code "
20
21
/>
21
22
<FormInput
22
23
:name =" `contacts[${index}].number`"
23
24
type =" tel"
24
- : placeholder =" ` Enter contact number ${index + 1}` "
25
+ placeholder =" Enter contact number"
25
26
/>
26
27
27
28
<button
33
34
>
34
35
x
35
36
</button >
36
- </div >
37
- </div >
37
+ </li >
38
+ </ol >
38
39
<button
39
40
type =" button"
40
41
class =" secondary-outlined-btn mt-8 w-fit"
61
62
:key =" index"
62
63
class =" flex items-start gap-4"
63
64
>
64
- <FormInput
65
- :name =" `addresses[${index}]`"
66
- type =" text"
67
- :placeholder =" `Enter address line ${index + 1}`"
68
- />
65
+ <span > {{ index + 1 }}. </span >
66
+ <FormInput :name =" `addresses[${index}]`" type =" text" placeholder =" Enter address line" />
69
67
70
68
<button
71
69
type =" button"
You can’t perform that action at this time.
0 commit comments