Create Textarea

This commit is contained in:
Llewellyn 2024-08-23 17:24:37 +00:00
parent ed65f1ab26
commit aae7a0fda3

View File

@ -0,0 +1,127 @@
{
"name": "Textarea",
"short_description": "provides a text area for entry of multi-line text.",
"description": "The textarea form field type provides a text area for entry of multi-line text. If the field has a value saved, this value is displayed when the page is first loaded. If not, the default value (if any) is selected.",
"properties": {
"properties0": {
"name": "type",
"example": "textarea",
"mandatory": "1",
"description": "(mandatory) must be textarea."
},
"properties1": {
"name": "name",
"example": "mytextarea",
"adjustable": "1",
"mandatory": "1",
"description": "(mandatory) is the unique name of the field."
},
"properties2": {
"name": "label",
"example": "Enter some text",
"adjustable": "1",
"mandatory": "1",
"translatable": "1",
"description": "(mandatory) (translatable) is the descriptive title of the field."
},
"properties3": {
"name": "rows",
"example": "10",
"adjustable": "1",
"mandatory": "1",
"description": "(mandatory) is the height of the visible text area in lines. If omitted the width is determined by the browser. The value of rows does not limit the number of lines that may be entered."
},
"properties4": {
"name": "cols",
"example": "5",
"adjustable": "1",
"mandatory": "1",
"description": "(mandatory) is the width of the visible text area in characters. If omitted the width is determined by the browser. The value of cols does not limit the number of characters that may be entered."
},
"properties5": {
"name": "default",
"example": "default text",
"adjustable": "1",
"description": "(optional) (not translatable) is the default value."
},
"properties6": {
"name": "description",
"example": "Text Area",
"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": "message",
"example": "",
"adjustable": "1",
"translatable": "1",
"description": "(optional) (translatable) is text that will be shown as error on validation."
},
"properties8": {
"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'."
},
"properties9": {
"name": "filter",
"example": "raw",
"adjustable": "1",
"description": "(optional) allow the system to save certain html tags or raw data."
},
"properties10": {
"name": "hint",
"example": "",
"adjustable": "1",
"translatable": "1",
"description": "(optional) The placeholder to display inside the textarea."
},
"properties11": {
"name": "required",
"example": "false",
"adjustable": "1",
"description": "(optional) The field must be filled before submitting the form."
},
"properties12": {
"name": "validate",
"example": "",
"adjustable": "1",
"description": "(optional) The validation method for the form field. This value will determine which method is used to validate the value for a field."
},
"properties13": {
"name": "readonly",
"example": "false",
"adjustable": "1",
"description": "(optional) The field cannot be changed and will automatically inherit the default value"
},
"properties14": {
"name": "disabled",
"example": "false",
"adjustable": "1",
"description": "(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit"
},
"properties15": {
"name": "showon",
"example": "",
"adjustable": "1",
"description": "(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+ https:\/\/joomla.stackexchange.com\/a\/17682\/2166"
},
"properties16": {
"name": "onchange",
"example": "",
"adjustable": "1",
"description": "(optional) HTML equivalent attribute (javascript use)"
}
},
"has_defaults": "1",
"datatype": "TEXT",
"datalenght": "",
"datalenght_other": "",
"datadefault": "",
"datadefault_other": "",
"indexes": "0",
"null_switch": "NOT NULL",
"store": "0",
"guid": "76fe1250-6fa7-49e5-a0ee-f06d8d4c9f99"
}