CountrySelector
CountrySelector element is a select list with available and active countries.
Build-in Validators
Element validate if chosen country exists and is active.
Available Validators
Element has available validators:
Relations Support
Element does not support relations between elements.
Configuration output schema
schema{
"<element_type>" : "countrySelector",
"<element_name>" : string,
"<element_label>" : string,
"<element_labelDescription>" : string,
"<element_isRequired>" : bool,
"<element_isHidden>" : bool,
"<element_defaultValue>" : int,
"<element_validators>" : []
}
example{
"type": "countrySelector",
"name": "country",
"label": "Displayed countries",
"isRequired": false,
"isHidden": false,
"defaultValue": 5,
"validators": [
{ "type" : "lessEqThan", "options" : { "max" : 100 } }
]
}