Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Syntax

...

gadget_createTextArea(label, defaultValue, isDisabled [, rows[, isRequired, fieldDescription]])


Description

...

Excerpt

Creates a textarea suitable for longer text values like comments.

Parameters

...

Parameter name

Type

Required

Description

label

string

Yes

Specifies a label for the field

defaultValue

string

Yes

Specifies a default value for the textarea

rowsnumberNoThe initial height of the textarea (defaults to 5). Some browsers will allow resizing.
isRequiredbooleanNoSpecifies if the field is should be marked as required with a dark red asterisk. Note that marking the field as required does not add any validation.
fieldDescriptionstringNoA description of the field to be displayed immediately under the input box.

Return type

...

string []

The returned value has no meaning.

Examples

...

Code Block
gadget_createTextArea("Default Textarea", "Text");
gadget_createTextArea("Textarea with 3 rows", "Three rows", 3);
gadget_createTextArea("Required Textarea", "Required text", 5, true, "Textarea description");

 

Image RemovedImage Added

 

See

...

also

Filter by label (Content by label)
showLabelsfalse
max150
showSpacefalse
cqllabel = "jira_parameter_routine"
labelsjira_parameter_routine