Skip to content

Commit 352d2f9

Browse files
committed
Rollback to correct example
1 parent 2105211 commit 352d2f9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/SimpleFormIterator.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,13 @@ import { ArrayInput, SimpleFormIterator, DateInput, TextInput, FormDataConsumer,
156156
<SimpleFormIterator disableRemove >
157157
<DateInput source="date" />
158158
<FormDataConsumer>
159-
{({ getSource }) => {
159+
{({ getSource, scopedFormData }) => {
160160
return (
161161
<Labeled label="Url">
162-
<TextField source={getSource('url')} />
162+
<TextField
163+
source={getSource('url')}
164+
record={scopedFormData}
165+
/>
163166
</Labeled>
164167
);
165168
}}

0 commit comments

Comments
 (0)