diff --git a/docs/SimpleFormIterator.md b/docs/SimpleFormIterator.md index 98eee5b7df4..cb712af6f0f 100644 --- a/docs/SimpleFormIterator.md +++ b/docs/SimpleFormIterator.md @@ -150,20 +150,17 @@ const PostEdit = () => ( **Note**: `` only accepts `Input` components as children. If you want to use some `Fields` instead, you have to use a `` to get the correct source, as follows: ```jsx -import { ArrayInput, SimpleFormIterator, DateInput, TextInput, FormDataConsumer } from 'react-admin'; +import { ArrayInput, SimpleFormIterator, DateInput, TextField, FormDataConsumer, Labeled } from 'react-admin'; - + - {({ getSource, scopedFormData }) => { - return ( - - ); - }} + {({ getSource }) => ( + + + + )} @@ -350,4 +347,4 @@ This property accepts the following subclasses: | `RaSimpleFormIterator-index` | Applied to the row label when `getItemLabel` is set | | `RaSimpleFormIterator-inline` | Applied to rows when `inline` is true | | `RaSimpleFormIterator-line` | Applied to each row | -| `RaSimpleFormIterator-list` | Applied to the `