title: ReferenceArrayInput usage with relationships on React Admin
body: <p>I have followed the doc for the ReferenceArrayInput (<a href="https://marmelab.com/react-admin/Inputs.html#common-input-props" rel="nofollow noreferrer">https://marmelab.com/react-admin/Inputs.html#common-input-props</a>) but it does not seem to be working with relationship fields.</p>
  
  <p>For example, I have this many-to-many relation for my Users (serialized version) :</p>
  
  <p><a href="https://i.stack.imgur.com/LD5Nv.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LD5Nv.jpg" alt="enter image description here"></a></p>
  
  <p>Coming from (raw response from my API):</p>
  
  <p><a href="https://i.stack.imgur.com/o0Yts.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/o0Yts.jpg" alt="enter image description here"></a></p>
  
  <p>I have setup the ReferenceArrayInput as followed :</p>
  
  <pre><code> &lt;ReferenceArrayInput source="profiles" reference="profiles" &gt;
             &lt;SelectArrayInput optionText="label"  /&gt;
  &lt;/ReferenceArrayInput&gt;
  </code></pre>
  
  <p>I think it's making the appropriate calls :</p>
  
  <p><a href="https://i.stack.imgur.com/lxmK0.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lxmK0.jpg" alt="enter image description here"></a></p>
  
  <p>But here is my result :</p>
  
  <p><a href="https://i.stack.imgur.com/Lorbh.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Lorbh.jpg" alt="enter image description here"></a></p>
  
  <p>Any idea what I'm doing wrong ?</p>
  
  <p>Thanks in advance for your help !</p>