Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entry field references #223

Open
perry-mitchell opened this issue Jul 29, 2018 · 0 comments
Open

Entry field references #223

perry-mitchell opened this issue Jul 29, 2018 · 0 comments

Comments

@perry-mitchell
Copy link
Member

perry-mitchell commented Jul 29, 2018

Add ability to reference fields from other entries. The value would appear when displayed, but not be stored internally. For instance: Entry A may have a field called test, and Entry B may reference A's test field. When A's test is changed, rendering B will show the new value for field test.

Areas that this will need to affect:

  • Entry#getProperty (return value)
  • Entry#setProperty (set remote value)
  • Entry#toObject (include referenced values)
  • Entry facades (get and set)
  • Entry create reference
  • Entry remove reference (option: copy value or remove field)

Referencing an Entry property should work like so:

  • An attribute is set on the Entry, flagging that a property is linked
  • The value of the property on this Entry will be set to the ID of the entry it is referencing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant