A custom field/input component for Admin-on-rest that provides the ability to represent embedded arrays.
Install with:
npm install --save aor-embedded-array
or
yarn add aor-embedded-array
In your App.js
or wherever you want to call <Admin>
component define the restClientRouter
like this
<EmbeddedArrayInput source="links">
<LongTextInput source="url" />
<LongTextInput source="context" />
<EmbeddedArrayInput source="metadata">
<TextInput source="name" />
<TextInput source="value" />
</EmbeddedArrayInput>
</EmbeddedArrayInput>