Creates a pop-up menu. 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. |
default |
String |
The first item if no item is selected. |
selected |
String |
Item that are chosen from the selection list. |
values |
Array |
Array which is value for each value attributes of <option> elements. |
enabled |
true/false |
If the value is false, the element appears but is not active. |