A plugin for DatoCMS that allows you disable fields conditionally.
Assign the plugin as a Field Addon, and select the fields that should be defined for it to be toggled.
The plugin is built using Vite.js. This enables a fast development workflow, where you see the changes as soon as you save a file. For it to work, it needs to be rendered inside the DatoCMS interface.
So when testing the plugin locally, you should
create a new plugin
in a DatoCMS project, and point it to http://localhost:3000
.