Hi,
I am building a custom component with a template prop. When I pull in the value of the prop/attribute I am getting the merge syntax instead of the merged values. So if in the template prop the user puts in {{{sumEstimatedHoursc}}} I would expect to get the merged value of whatever the data returns via xmlDef.attr(“valueTemplate”). Instead, I am simply getting the merged syntax back i.e.“{{{sumEstimatedHoursc}}}”.
Is there a way I can get the merged value instead of just the syntax? Or is there an API I can use for getting the merged value by passing in a model and merge syntax?
Question
custom component: How to get value of template property
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.