Skip to content

ProducerSelector

ProducerSelector element is a select list with producers.

producer-selector

Build-in Validators

Element validate if chosen producer exists.

Available Validators

Element has available validators:

Relations Support

Element does not support relations between elements.

Configuration output schema

schema
{
  "<element_type>" : "producerSelector",
  "<element_name>" : string,
  "<element_label>" : string,
  "<element_labelDescription>" : string,
  "<element_isRequired>" : bool,
  "<element_isHidden>" : bool,
  "<element_defaultValue>" : int,
  "<element_validators>" : []
}
example
{
  "type" : "producerSelector",
  "name" : "producer",
  "label" : "Displayed producer",
  "isRequired" : false,
  "isHidden" : false,
  "defaultValue" : 12,
  "validators": [
    {
      "type" : "lessEqThan",
      "options" : { "max" : 25 }
    }
  ]
}