String Array
A custom field to serve comma-separated (or other special characters) strings as JSON arrays
Strapi string array plugin
This Strapi plugin adds a new field type to store an array of strings.
Installation
npm install strapi-plugin-string-array
# OR
yarn add strapi-plugin-string-array
Setup and configuration
This plugin adds a custom field type to your Strapi setup.
When adding a new field to a content type, select String Array
from the list of available field types in the "Custom"
tab.
You'll be able to specify the separator to use when inputing data in the Strapi admin panel. If none is specified, a comma is used by default.
Usage
Once created, can be used like a regular text field. However, you can use the above defined separator to separate multiple values within the field. The data is stored as a string (for db engine compatibility) and is automatically converted to an array when served through the REST API.
Install now
npm install strapi-plugin-string-array
Create your own plugin
Check out the available plugin resources that will help you to develop your plugin or provider and get it listed on the marketplace.