From 9665551e720be0f7d5657a815cbd83a1a2305f07 Mon Sep 17 00:00:00 2001 From: Llewellyn Date: Fri, 23 Aug 2024 17:23:36 +0000 Subject: [PATCH] Create Checkbox --- .../item.json | 81 +++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 src/10066262-b6e3-4f82-941e-cbe4f61ddd6c/item.json diff --git a/src/10066262-b6e3-4f82-941e-cbe4f61ddd6c/item.json b/src/10066262-b6e3-4f82-941e-cbe4f61ddd6c/item.json new file mode 100644 index 0000000..cf440e4 --- /dev/null +++ b/src/10066262-b6e3-4f82-941e-cbe4f61ddd6c/item.json @@ -0,0 +1,81 @@ +{ + "name": "Checkbox", + "short_description": "provides a single checkbox to be checked or unchecked", + "description": "The checkbox form field type provides a single checkbox. If the parameter has a saved value this is selected when the page is first loaded. If not, the default value (if any) is selected.", + "properties": { + "properties0": { + "name": "type", + "example": "checkbox", + "mandatory": "1", + "description": "(mandatory) must be checkbox" + }, + "properties1": { + "name": "name", + "example": "show_title", + "adjustable": "1", + "mandatory": "1", + "description": "(mandatory) is the unique name of the parameter." + }, + "properties2": { + "name": "label", + "example": "Show title", + "adjustable": "1", + "mandatory": "1", + "translatable": "1", + "description": "(mandatory) (translatable) is the descriptive title of the field." + }, + "properties3": { + "name": "value", + "example": "1", + "adjustable": "1", + "description": "(optional) is the value of the parameter if this checkbox is set (usually 1)." + }, + "properties4": { + "name": "default", + "example": "", + "adjustable": "1", + "description": "(optional) is the default value (usually 0 or 1)." + }, + "properties5": { + "name": "required", + "example": "", + "adjustable": "1", + "description": "(optional) The field must be filled before submitting the form." + }, + "properties6": { + "name": "description", + "example": "Show the title of the item", + "adjustable": "1", + "translatable": "1", + "description": "(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the label." + }, + "properties7": { + "name": "class", + "example": "inputbox", + "adjustable": "1", + "description": "(optional) is a CSS class name for the HTML form field. If omitted this will default to 'inputbox'." + }, + "properties8": { + "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" + }, + "properties9": { + "name": "onchange", + "example": "", + "adjustable": "1", + "description": "(optional) HTML equivalent attribute (JavaScript use)" + } + }, + "has_defaults": "1", + "datatype": "TINYINT", + "datalenght": "1", + "datalenght_other": "", + "datadefault": "0", + "datadefault_other": "", + "indexes": "0", + "null_switch": "NOT NULL", + "store": "0", + "guid": "10066262-b6e3-4f82-941e-cbe4f61ddd6c" +} \ No newline at end of file