Impostazione Widget

{[ "type": "text", "label": "Nome", "name": "name", "required": 1, "class": "", "value": "$name$", "extra": "" ]}
{[ "type": "select", "label": "Parente", "name": "id_newmodule", "required": 0, "class": "", "values": "query=SELECT id as id , CONCAT(name2,' ',name) AS descrizione FROM zz_modules", "value": "$id_module$", "extra": "" ]}
{[ "type": "select", "label": "Dimensione ", "name": "class", "required": 0, "class": "", "values": "list= \"col-md-1\": \"col-md-1\", \"col-md-2\": \"col-md-2\", \"col-md-3\": \"col-md-3\" , \"col-md-4\": \"col-md-4\", \"col-md-5\": \"col-md-5\", \"col-md-6\": \"col-md-6\"", "value": "$class$", "extra": "" ]}
{[ "type": "checkbox", "label": "Visibile", "name": "enabled", "required": 0, "class": "", "values": "$enabled$", "value": "$enabled$", "extra": "", "help": "", "placeholder": "ATTIVO" ]}
{[ "type": "select", "label": "Posizione ", "name": "location", "required": 0, "class": "", "values": "list= \"controller_top\": \"controller_top\", \"controller_right\": \"controller_right\"", "value": "$location$", "extra": "" ]}
{[ "type": "text", "label": "Colore", "name": "colore", "required": 0, "class": "colorpicker text-center", "value": "$bgcolor$", "extra": "maxlength='7'", "icon-after": "
" ]}
{[ "type": "text", "label": "Icona", "name": "icon", "required": 0, "class": "", "value": "$icon$", "extra": "" ]}