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