Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stackbit/datocms-plugin-typed-list
Plugin for editing typed list in DatoCMS
https://github.com/stackbit/datocms-plugin-typed-list
datocms plugin
Last synced: 10 days ago
JSON representation
Plugin for editing typed list in DatoCMS
- Host: GitHub
- URL: https://github.com/stackbit/datocms-plugin-typed-list
- Owner: stackbit
- Created: 2019-04-24T13:32:28.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-26T15:43:07.000Z (over 5 years ago)
- Last Synced: 2024-10-28T22:40:01.431Z (23 days ago)
- Topics: datocms, plugin
- Language: JavaScript
- Size: 295 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Typed List field editor plugin for DatoCMS
This plugin transforms JSON fields of array type into editable lists.
![Editing fields](docs/editing-list.png)
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](docs/configuring-options.png)
![Editing options](docs/editing-options.png)
TODOs:
- convert to React
- add more types (color, url, etc.)