ArrayInput wrongly placed Remove button
What you were expecting:
ArrayInput has correct width and Remove button is placed on the right side of the form.
What happened instead:
ArrayInput is shorter than expected and Remove button is not placed on the right side of the form.
Steps to reproduce: Please, refer to the code snippet and Tab 1 in a sandbox linked below.
Related code:
<ArrayInput source="urls">
<SimpleFormIterator>
<TextInput source="url" />
</SimpleFormIterator>
</ArrayInput>
CodeSandbox https://codesandbox.io/s/6n0xlnjzkn
Environment
- React-admin version: 2.2.x
- Last version that did not exhibit the issue (if applicable): 2.1.x
ArrayInput is shorter than expected
What is the correct width ? If you want it to take all the space available, add a fullWidth prop on it (You'll have to add a fullWidth prop on its children too). We should document this.
Remove button is not placed on the right side of the form
It is placed at the right side of the input. However, if you set the fullWidth prop as explained above, it will be on the right side of the form.

I'll mark this issue as a enhancement to the documentation
In my opinion, there is no bug. It's the intended behavior. I don't see why we should explain how to set the fullWidth property here and not in the other input types...
So I'm closing this one.
@djhi @fzaninotto Thanks both of you. I missed in documentation that fullWidth can be passed as a prop to Input component, I only tried it in style and options props. Anyway it's working and this is indeed not an issue.