formio.js icon indicating copy to clipboard operation
formio.js copied to clipboard

Select Component Interpolation

Open josecristhian opened this issue 5 years ago • 1 comments

Select component with resource type in the template item is not working with two interpolations:

{{ item.data.textField }} {{item.data.textField1}}

4.14.0-rc.28 => Does not work https://jsfiddle.net/josecristhian/jo72rgaw/6/

4.14.0-rc.27 => Works https://jsfiddle.net/josecristhian/cqbdkuza/2/

{ "label": "Select", "widget": "choicesjs", "tableView": true, "dataSrc": "resource", "data": { "resource": "6196891303607508f5c67c81" }, "template": "{{ item.data.textField }} - {{ item.data.textField1 }}", "key": "select", "type": "select", "input": true, "addResource": false, "reference": false }

josecristhian avatar Nov 18 '21 15:11 josecristhian

Closing this thread as it is outdated. Please re-open if it is still relevant. Thank you for your contribution!

daneformio avatar Feb 07 '24 14:02 daneformio