The use of this routine requires the Power Scripts for Jira add-on be installed and licensed.
...
applyColStyleToCell | true |
---|---|
heading | 0 |
columnTypes | s,s,s,s |
multiple | false |
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
enableSorting | false |
...
Syntax
...
gadget_createTextArea(label, defaultValue, isDisabled [, rows[, isRequired, fieldDescription]])
...
Package
...
Alias
...
Pkg Usage
Description
Excerpt | ||
---|---|---|
| ||
Creates a text area suitable for longer text values like comments. |
Creates a text area suitable for longer text values like comments.
Parameters
...
applyColStyleToCell | true |
---|---|
columnTypes | s,s,s,s |
heading | 0 |
multiple | false |
enableSorting | false |
...
Parameter name
...
Type
...
Required
...
Description
...
label
...
String
...
Yes
...
Specifies a label for the field.
...
defaultValue
...
String
...
Yes
...
Specifies a default value for the text area.
...
rows
...
number
...
No
...
Initial height of the text area (defaults to 5). Some browsers will allow resizing.
...
isRequired
...
Boolean
...
No
...
Specifies 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.
...
fieldDescription
...
String
...
No
...
Description of the field to be displayed immediately under the input box.
Return Type
String []
The returned value has no meaning.
Example
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"); |
See also
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|