MhdSyrwan / aor-embedded-array

Embedded Arrays for Admin On Rest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for ReferenceField

sportluffi opened this issue · comments

There seems to be a problem when trying to use a in combination with EmbeddedArrayInput.
I just can't get it to work - the reference field is not calling the endpoint, and therefore not displaying any data.
Are there any known tricks for this?

Can you please provide a complete example using https://codesandbox.io/

closed due inactivity. please feel free to re-open this when you prepare the example.

ReferenceInput not working with ArrayInput.
How to do something like the following?

        <ArrayInput source="post">
          <SimpleFormIterator>
            <ReferenceInput source="commentedOn" reference="user">
              <AutocompleteInput optionText="username" />
            </ReferenceInput>
          </SimpleFormIterator>
        </ArrayInput>

@nitoygo Actually it should work, please provide an example using https://codesandbox.io/

BTW, check this issue, it might help #5
Also, please provide a sample of the data you're using.