Skip to content

LanguageSelector

LanguageSelector element is a select list with available and active languages.

country-selector

Build-in Validators

Element validate if chosen language 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>" : "languageSelector",
  "<element_name>" : string,
  "<element_label>" : string,
  "<element_labelDescription>" : string,
  "<element_isRequired>" : bool,
  "<element_isHidden>" : bool,
  "<element_defaultValue>" : int,
  "<element_validators>" : []
}
example
{
  "type": "languageSelector",
  "name": "language",
  "label": "Displayed languages",
  "isRequired": false,
  "isHidden": false,
  "defaultValue": 1,
  "validators": [
    { "type" : "lessEqThan", "options" : { "max" : 100 } }
  ]
}