@stackbit/datocms-plugin-typed-list

0.1.4 • Public • Published

Typed List field editor plugin for DatoCMS

This plugin transforms JSON fields of array type into editable lists.

Editing fields

When installing this plugin on a JSON field, you can configure two properties:

  • type: defines the type of the array items. Possible values string and number. Default is string.
  • options: when type 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:

Configuring options

Editing options

TODOs:

  • convert to React
  • add more types (color, url, etc.)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.4
    7
    • latest

Version History

Package Sidebar

Install

npm i @stackbit/datocms-plugin-typed-list

Weekly Downloads

7

Version

0.1.4

License

ISC

Unpacked Size

224 kB

Total Files

9

Last publish

Collaborators

  • bwwhite
  • bob_netlify
  • noahcrowley-netlify
  • greglobinski
  • seancdavis
  • merlyn_at_netlify
  • cmparsons
  • suzanneaitchison
  • ryanbonial
  • stackbitjoe
  • arseny.gurevich
  • smnh
  • tomasb
  • rodikh
  • berdav
  • stackbit-admin
  • vitaliyr
  • denar90
  • youvalv