custom component - access picklist property in runtime

xmlDef.attr(‘mypicklistproperty’) returns some kind of object.

What is the appropriate syntax for getting the value of a picklist property?

Thanks!

^^bump

Try console.log() ing the object. Then you can figure out how to access its properties.

Thanks, Moshe.

Turns out it was giving me the right thing the whole time. I was just subsequently using skuid.utils.merge() when I should have been using skuid.utils.mergeAsText().