I'm trying to use the ReferenceInputArray field in admin on rest
<ReferenceArrayInput label="Clients" source="clients" reference="Client" allowEmpty>
<SelectArrayInput optionText="name" />
</ReferenceArrayInput>
but i get this error:
uncaught at handleFetch Invariant Violation: Objects are not valid as a React child (found: object with keys {id, name, description, __typename}). If you meant to render a collection of children, use an array instead or wrap the object using createFragment(object) from the React add-ons. Check the render method of Chip.