Skip to content

Phocea/aor-embedded-array

 
 

Repository files navigation

npm npm npm Travis

aor-embedded-array

A custom field/input component for Admin-on-rest that provides the ability to represent embedded arrays.

Installation

Install with:

npm install --save aor-embedded-array

or

yarn add aor-embedded-array

Usage

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>

About

Embedded Arrays for Admin On Rest

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.7%
  • Makefile 6.3%