Skip to content

Commit 7ef1bb1

Browse files
committed
Fix example
1 parent 6dca6f6 commit 7ef1bb1

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

docs/SimpleFormIterator.md

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

0 commit comments

Comments
 (0)