Skip to content

Commit 46dd322

Browse files
committed
fix representation
1 parent ea93745 commit 46dd322

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/ra-ui-materialui/src/list/listFieldTypes.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ ${children.map(child => ` ${child.getRepresentation()}`).join('\n')}
5858
</DataTable.Col>
5959
),
6060
representation: props =>
61-
`<DataTable.Col source="${props.source}" />
61+
`<DataTable.Col source="${props.source}">
6262
<BooleanField source="${props.source}" />
6363
</DataTable.Col>`,
6464
},
@@ -69,7 +69,7 @@ ${children.map(child => ` ${child.getRepresentation()}`).join('\n')}
6969
</DataTable.Col>
7070
),
7171
representation: props =>
72-
`<DataTable.Col source="${props.source}" />
72+
`<DataTable.Col source="${props.source}">
7373
<DateField source="${props.source}" />
7474
</DataTable.Col>`,
7575
},
@@ -80,7 +80,7 @@ ${children.map(child => ` ${child.getRepresentation()}`).join('\n')}
8080
</DataTable.Col>
8181
),
8282
representation: props =>
83-
`<DataTable.Col source="${props.source}" />
83+
`<DataTable.Col source="${props.source}">
8484
<EmailField source="${props.source}" />
8585
</DataTable.Col>`,
8686
},
@@ -142,7 +142,7 @@ ${children.map(child => ` ${child.getRepresentation()}`).join('\n')}
142142
</DataTable.Col>
143143
),
144144
representation: props =>
145-
`<DataTable.Col source="${props.source}" />
145+
`<DataTable.Col source="${props.source}">
146146
<UrlField source="${props.source}" />
147147
</DataTable.Col>`,
148148
},

0 commit comments

Comments
 (0)