Skip to content
This repository has been archived by the owner on Jun 27, 2018. It is now read-only.

Expose available entries in RelatedField #27

Conversation

manuelnaranjo
Copy link

RelatedField users need a reference to the displayed entry so they can
correctly format those

RelatedField users need a reference to the displayed entry so they can
correctly format those
@fzaninotto
Copy link
Member

No, Field instances are immutable by design and cannot contain data, just definition. That's why we introduced the DataStore in the first place. You'll have to inject the DataStore wherever you need the related entries.

@fzaninotto fzaninotto closed this Aug 5, 2015
@manuelnaranjo
Copy link
Author

Ok is there any example on how to use it? Is it related to this RFR marmelab/ng-admin#410 ?

@fzaninotto
Copy link
Member

Yes, exactly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants