New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

datocms-plugin-dropdown-conditional-fields

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

datocms-plugin-dropdown-conditional-fields

Allow fields to be hidden/shown based on the values of a dropdown field.

latest
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

Dropdown Conditional Fields DatoCMS plugin

Allow fields to be hidden/shown based on the values of a dropdown field.

Configuration

Configuration requires a json object with the keys as lowercase strings, and the values as the api keys of the fields to show when the value is present.

This plugin will combine all the fields for each key and hide them all on a new record and that is how it determines what fields to hide.

Settings Image

Development

Install all the project dependencies with:

yarn install

Add this plugin in development mode to one of your DatoCMS project with:

yarn addToProject

Start the local development server with:

yarn start

The plugin will be served from http://localhost:5000/. Insert this URL as the plugin Entry point URL.

Publishing

Before publishing this plugin, make sure:

  • you've properly described any configuration parameters in this README file;
  • you've properly compiled this project's package.json following the official rules;
  • you've added a cover image (cover.png) and a preview GIF (preview.gif) into the docs folder.

When everything's ready, just run:

yarn publish

Keywords

datocms

FAQs

Package last updated on 08 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts