Syntax
BA_createSelectList(label, options, defaultValue, isDisabled[, isRequired, fieldDescription])
Description
Excerpt |
---|
Table plus |
---|
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 | 1154744391 | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Creates a single select list. |
Creates a single select list.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
label | |
...
String | Yes | Field label. | options |
|
...
...
...
the provided options or an empty array. | defaultValue |
|
...
String | Yes | A default value (one of the provided options) or an empty string. | isDisabled |
|
...
...
No | Specifies whether the field is read-only or |
|
...
...
Boolean | No | Specifies whether the field 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 | A description of the field to be displayed immediately under the input box. |
|
Return
...
string []
...
Type
None
The returned value has no meaning
Example
Code Block |
---|
BA_createSelectList("sel 1", {"option 1", "option 2"}, "option 2", true, false, "select some options");
BA_createSelectList("sel 2", {"option 1", "option 2"}, "", false, true, "select some other options"); |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "pa_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|