@stackbit/datocms-plugin-typed-list
v0.1.4
Published
Plugin for editing typed list (list of strings, enums, numbers) in DatoCMS using JSON field
Downloads
32
Readme
Typed List field editor plugin for DatoCMS
This plugin transforms JSON fields of array type into editable lists.
When installing this plugin on a JSON field, you can configure two properties:
type
: defines the type of the array items. Possible valuesstring
andnumber
. Default isstring
.options
: whentype
is set to string, you can specify string of comma separated values allowed to be inserted into the array. This is done by replacing the regular text field to select dropdown. Note, this is not a validation rule but a user interface feature.
Example:
TODOs:
- convert to React
- add more types (color, url, etc.)