Strapi Plugin to encapsulate custom fields created by Ping Pong Technologies.
Company: Ping Pong Technologies S.L.
Version: 1.0.17
Last Modified: March 2023
Author: Sergi Penya Tapia
The characteristics are detailed below for each custom field individually. You can configure them from the field options. The configuration parameters are shown below.
It allows to create a list of boolean flags, that is saved together in one Json field You can define the on and off text for the toggleButtons (true-false, Yes-No), and the list of items you want to evaluate. The Api returns you an array of the ON items.
property | type (default) | description |
---|---|---|
on_text |
string (null ) |
Text for the on-state |
off_text |
string (null ) |
Text for the off-state |
list |
array ({} ) |
Array of strings textarea-enum, with every boolean name we want to check |
It allows to create a field for duration in hh:mm or hh:mm:ss. Data is saved in seconds, and the seconds field is optional, can be shown or hidden as you want from the advanced options.
property | type (default) | description |
---|---|---|
withSeconds |
boolean (false ) |
If you want it as hh:mm or hh:mm:ss |
To install this plugin, you need to add an NPM dependency to your Strapi application.
# Using Yarn
yarn add strapi-plugin-ppt-customfields
# Or using NPM
npm install strapi-plugin-ppt-customfields