Is it possible to get a picklist 'label' instead of api name through merge sytax?

I have an org that has a lot of differences between the labels and api names of picklists. I'm having trouble access the selected value's label without js.


Is there a merge syntax that could do something magical like this $Model.myModel.data.0.mypicklistfield.label?

Answers

  • Hi Paul,

    If I'm not mistaken, I think you can get the label to display by using triple braces around your merge syntax (ex. {{{$Model.myModel.data.0.mypicklistfield}}})

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!