How do we set the default value for ArrayInput in react admin ? I tried without success
<ArrayInput source="to" defaultValue={[{email: '[email protected]'}]}>
<SimpleFormIterator>
<TextInput source="email" {...rest} />
</SimpleFormIterator>
</ArrayInput>
[email protected]. github.com/marmelab/react-admin/pull/2067 You can use thenextbranch to build your own version if needed.