CollectionSelector¶
CollectionSelector element is a select list with collections.
Build-in Validators¶
Element validate if chosen collection exists.
Available Validators¶
Element has available validators:
Relations Support¶
Element does not support relations between elements.
Configuration output schema¶
schema
{
"<element_type>" : "collectionSelector",
"<element_name>" : string,
"<element_label>" : string,
"<element_labelDescription>" : string,
"<element_isRequired>" : bool,
"<element_isHidden>" : bool,
"<element_defaultValue>" : int,
"<element_validators>" : []
}
example
{
"type" : "collectionSelector",
"name" : "collection",
"label" : "Displayed collection",
"isRequired" : false,
"isHidden" : false,
"defaultValue" : 12,
"validators": [
{ "type" : "positiveNumber" },
{ "type" : "int" },
{ "type" : "lessEqThan", "options" : { "max" : 25 } }
]
}
Element value¶
If value is filled: int
.