Matrix of Dropdown menues only showing Index as label

Hi community!
I am pretty sure this is again about my lack of knowledge in coding JS but I would be highly thankful if someone could help.

Basically everthing works despite the labels of the dropdown menus only show their matrix index instead of their chosen values.

The props field of the matris looks like this:

JS{
var props = {}

props.values = {
  "Normal": "normal",
  "Screen": "screen",
  "Subtract": "subtract",
  "Multiply": "multiply",
  "Soft Light": "softLight",
  "Hard Light": "hardLight",
  "Soft Subtract": "softSubtract",
  "Lighten Only": "lighten"
}
props.default = "normal"

props.onValue = `
  var id = getIndex('this')
  console.log(get('blendingDD_Layers/'+id))
  console.log(get('blendingDD_Layers'))
  send(get('oscTarget'), '/vimix/current/blendingMode', value)
`
return props
}

Does anyone have experience with matrix dropdowns and would help me out?
Thanks in advance!

Hmm, you have to set the label manually as it's currently overridden by default (an old leftover from pre-v1 I think):

props.label = "%key"

Once again I am amazed by the precision and accuracy of your answers.

I think I can soon share a template for the VJing software "Vimix". O-S-C and Vimix go pretty well together and I already did some basic video tutorials on how to setup O-S-C with Vimix.
If there is any interest, please let me know.

Thank you very much!

1 Like