Create Number

This commit is contained in:
Llewellyn 2024-08-23 17:24:10 +00:00
parent 734f9d73b7
commit 0227969dea

View File

@ -0,0 +1,95 @@
{
"name": "Number",
"short_description": "Provides a one line text box with up-down handles to set a number in the field.",
"description": "Provides a one line text box with up-down handles to set a number in the field.",
"properties": {
"properties0": {
"name": "type",
"example": "number",
"mandatory": "1",
"description": "(mandatory) must be number."
},
"properties1": {
"name": "name",
"example": "number",
"adjustable": "1",
"mandatory": "1",
"description": "(mandatory) is the unique name of the field."
},
"properties2": {
"name": "label",
"example": "Number",
"adjustable": "1",
"mandatory": "1",
"translatable": "1",
"description": "(mandatory) (translatable) is the descriptive title of the field."
},
"properties3": {
"name": "default",
"example": "",
"adjustable": "1",
"description": "(optional) is the default value."
},
"properties4": {
"name": "description",
"example": "",
"adjustable": "1",
"translatable": "1",
"description": "(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box."
},
"properties5": {
"name": "class",
"example": "text_area",
"adjustable": "1",
"description": "(optional) is a CSS class name for the HTML form field. If omitted this will default to 'text_area'."
},
"properties6": {
"name": "required",
"example": "",
"adjustable": "1",
"description": "(optional) The field must be filled before submitting the form."
},
"properties7": {
"name": "min",
"example": "1",
"adjustable": "1",
"mandatory": "1",
"description": "(mandatory) this value is the lowest on the list."
},
"properties8": {
"name": "max",
"example": "40",
"mandatory": "1",
"description": "(mandatory) this value is the highest on the list."
},
"properties9": {
"name": "step",
"example": "5",
"adjustable": "1",
"mandatory": "1",
"description": "(mandatory) each option will be the previous option incremented by this number, starting with the first value until the last value is reached."
},
"properties10": {
"name": "onchange",
"example": "",
"adjustable": "1",
"description": "(optional) Javascript that should run on changing of the value."
},
"properties11": {
"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": "1",
"datatype": "INT",
"datalenght": "11",
"datalenght_other": "",
"datadefault": "0",
"datadefault_other": "",
"indexes": "0",
"null_switch": "NOT NULL",
"store": "0",
"guid": "5abd2b73-643b-4273-841a-787991aad968"
}