craft-dynamic-fields
craft-dynamic-fields copied to clipboard
Is possible to populate dynamic field from another field in the same entry, let's say title?
Would it be possible to populate the dynamic field with value of another field from the containing entry? Something like:
{
"value":"{{ thisEntry.id }}",
"label":"{{ thisEntry|e }}"
}
What I need is to add containing entry's title to the list of entries.
There is some example code in the following thread:
https://github.com/lewisjenkins/craft-dynamic-fields/issues/29
Thank You!
28. 7. 2022 v 17:35, Lewis Jenkins @.***>:
There is some example code in the following thread:
#29 https://github.com/lewisjenkins/craft-dynamic-fields/issues/29 — Reply to this email directly, view it on GitHub https://github.com/lewisjenkins/craft-dynamic-fields/issues/46#issuecomment-1198318506, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWQ6VL2KIEAWQZCJZHNK4TVWKSELANCNFSM545TTJ2A. You are receiving this because you authored the thread.
I've seen issue #29 very useful ! However I was wondering if it would be possible to trigger the refresh of the data in the field not based on a full save, but on the (automatic) draft saved draft version.
This would be actually be a killer feature as it would enable to have dependent fields with full flexibility !