File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -37,13 +37,8 @@ export const FieldRowWithLabel = ({
37
37
>
38
38
{ showLabel && (
39
39
< label className = "cn-7 fs-13 lh-32 fw-4 flexbox mb-0" htmlFor = { id } >
40
- { /* The check is added here intentionally for proper layout for array type field */ }
41
- { label !== DO_NOT_SHOW_LABEL && (
42
- < >
43
- < span className = "dc__ellipsis-right" > { label || DEFAULT_FIELD_TITLE } </ span >
44
- { required && < span className = "cr-5" > *</ span > }
45
- </ >
46
- ) }
40
+ < span className = "dc__ellipsis-right" > { label || DEFAULT_FIELD_TITLE } </ span >
41
+ { required && < span className = "cr-5" > *</ span > }
47
42
</ label >
48
43
) }
49
44
{ children }
Original file line number Diff line number Diff line change @@ -65,7 +65,6 @@ export const ArrayFieldTemplate = ({
65
65
...itemProps . children ,
66
66
props : {
67
67
...itemProps . children . props ,
68
- name : index === 0 ? label : DO_NOT_SHOW_LABEL ,
69
68
} ,
70
69
}
71
70
return (
You can’t perform that action at this time.
0 commit comments