From 546bf8410e1882a3f8601540eaa7cef3fe6257fc Mon Sep 17 00:00:00 2001 From: Llewellyn Date: Fri, 23 Aug 2024 17:24:21 +0000 Subject: [PATCH] Create Repeatable --- .../item.json | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 src/05bf68d4-52f9-4705-8ae7-cba137fce0ad/item.json diff --git a/src/05bf68d4-52f9-4705-8ae7-cba137fce0ad/item.json b/src/05bf68d4-52f9-4705-8ae7-cba137fce0ad/item.json new file mode 100644 index 0000000..c11cd38 --- /dev/null +++ b/src/05bf68d4-52f9-4705-8ae7-cba137fce0ad/item.json @@ -0,0 +1,100 @@ +{ + "name": "Repeatable", + "short_description": "Allows form fields which can have as many options as the user desires.", + "description": "Provides a modal with rows of formfields that you specify. As many options can be added as desired. Note this form field has a jQuery based javascript file as a dependency.", + "properties": { + "properties0": { + "name": "type", + "example": "repeatable", + "adjustable": "1", + "description": "(mandatory) must be repeatable." + }, + "properties1": { + "name": "name", + "example": "repeatable_list", + "adjustable": "1", + "description": "(mandatory) is the unique name of the parameter" + }, + "properties2": { + "name": "label", + "example": "The Repeatable List", + "adjustable": "1", + "translatable": "1", + "description": "(mandatory) (translatable) is the descriptive title of the field." + }, + "properties3": { + "name": "description", + "example": "", + "adjustable": "1", + "translatable": "1", + "description": "(optional) (translatable) description text for the form field. Displays at the top of the modal with the name as well as in the usual position in the form" + }, + "properties4": { + "name": "default", + "example": "", + "adjustable": "1", + "description": "(optional) The default value for the form field if the field is left empty. Note this has to be a json string compatible with the contents of the form field." + }, + "properties5": { + "name": "id", + "example": "aid", + "adjustable": "1", + "mandatory": "1", + "description": "(mandatory) id of the hidden from field. (the modal will have this id with an added suffix of \"_modal\" and the table within the modal will have this id with a suffix of _modal_table\")" + }, + "properties6": { + "name": "class", + "example": "", + "adjustable": "1", + "description": "(optional) class of the table." + }, + "properties7": { + "name": "select", + "example": "Click here", + "adjustable": "1", + "translatable": "1", + "description": "(optional) (translatable) The text to show on the modal button." + }, + "properties8": { + "name": "icon", + "example": "list", + "adjustable": "1", + "description": "(optional) The icon to show on the select button (is prefixed with \"icon-\")." + }, + "properties9": { + "name": "maximum", + "example": "50", + "adjustable": "1", + "description": "(optional) The maximum number of rows of fields allowed (by default 999 to be effectively infinite)" + }, + "properties10": { + "name": "fields", + "example": "1,2,3", + "adjustable": "1", + "mandatory": "1", + "description": "(mandatory) The fields to add to the modal. All fields must first be created in component builder as a field before you can add them here, since you must use the id of the field. Separate the field ids with commas. Do not add custom fields that are not also used in this component." + }, + "properties11": { + "name": "filter", + "example": "", + "adjustable": "1", + "description": "(optional) Use only if you would like to save raw data, since the default is best." + }, + "properties12": { + "name": "showon", + "example": "", + "adjustable": "1", + "description": "(optional) show this field on the bases of the value in another field. https:\/\/joomla.stackexchange.com\/a\/17682\/2166" + } + }, + "has_defaults": "0", + "datatype": "", + "datalenght": "", + "datalenght_other": "", + "datadefault": "", + "datadefault_other": "", + "indexes": "0", + "null_switch": "NOT NULL", + "store": "0", + "guid": "05bf68d4-52f9-4705-8ae7-cba137fce0ad" +} \ No newline at end of file