Creates a list whose multiple items can be selected. This element must be used within CKForm or HTML form.
Required attribute: list
Attribute | Type | Description |
---|---|---|
escape |
true/false |
Escapes HTML control characters in the items of the list if the escape is true. The default value is true. |
list |
Enumerable |
Array which is iterated through. |
selected |
Array |
Items which are chosen from the list. |
values |
Array |
Array which is value for each value attributes of <option> elements. |
multiple |
true/false |
Multiple items of the list can be selected if the value is true. |
size |
Integer |
Size of item in appearance. |
enabled |
true/false |
If the value is false, the element appears but is not active. |