Show/hide field value fields based on the associated field type model.
This plugin requires a DatoCMS API Key global variable so it can look up the FieldType record that is associated with a InformationField record. For simplicity, we also need to add a global FieldType model ID variable to enable that lookup. These variables are added on the plugin settings page.
Install all the project dependencies with:
Add this plugin in development mode to one of your DatoCMS project with:
Start the local development server with:
Before publishing this plugin, make sure:
package.jsonfollowing the official rules;
cover.png) and a preview GIF (
preview.gif) into the
When everything's ready, just run: