Summary
Long story short, i want to display values in MIGX single listbox from another listbox TV (not from MIGX but from normal TV “creator”).
Step to reproduce
I have following config:
"fields":[
{
"MIGX_id":2,
"field":"work_category",
"caption":"Work Category",
"description":"",
"description_is_code":"0",
"inputTV":"",
"inputTVtype":"listbox",
"validation":"required",
"configs":{
"valueListFrom":"wpCategories"
},
"restrictive_condition":"",
"display":"",
"sourceFrom":"config",
"sources":"",
"inputOptionValues":"",
"default":"",
"useDefaultIfEmpty":"0",
"pos":1
},
Found somewhere on the internet that:
"configs":{
"valueListFrom":"wpCategories"
},
this part should do the job wpCategories is TV from which i want to pull values.
am I doing something wrong? I can’t confirm if the following method is allowed…
Would be nice if somebody with better knowledge could have a look on that.
Alternatively i can use custom @SNIPPET in values but don’t want to duplicate code if i don’t have to.
THANKS GUYS!
Environment
MODX 3.0.4, MIGX3.0.2-beta1