craft-dynamic-fields
craft-dynamic-fields copied to clipboard
Populate Craft fields with dynamic data using the power of Twig.
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 }}" } ```...
foreach() argument must be of type array|object, null given ```yii\base\ErrorException: foreach() argument must be of type array|object, null given in /Users/a/Sites/craft/vendor/lewisjenkins/craft-dynamic-fields/src/fields/Dropdown.php:54 Stack trace: #0 /Users/a/Sites/craft/vendor/craftcms/cms/src/web/ErrorHandler.php(77): yii\base\ErrorHandler->handleError(2, 'foreach() argum...', '/Users/a/Sites/...', 54)...
How do you go about searching through fields where the data stored is in its json format?
First of all: thanks for this plugin. We're currently trying to use it for a "Theme" Dropdown. But it seems the CP does not share the currently active site anymore....
I noticed that none of the dynamic fields we have set up on various entry types are listed as table column options in the element index views. I forget what...
Setup: I have a `Dropdown (dynamic)` field in a Matrix block, configured with the following options: ``` { "value":"jim", "label":"Jim Beam" }, { "value":"jack", "label":"Jack Daniels", "default":true }, { "value":"mark",...
Recently, I updated from a website from Craft 2 to Craft 3 and getting error **Array to string conversion** while updating any entry having Dynamic field. Please see screenshot -...
Hi Lewis Is there any chance you could add a migration for those of us updating from using this extensively in Craft 2? I can hack/write a query to deal...
- I have a section (e.g. items) of entries with a MultiSelect type dynamic field (e.g. myDynamicField). - This section has about 250 entries - I have a PHP loop...
It would be useful to have support for organizing options in big dropdowns by making use of the [``](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup) tag.