Not a bug (Solved) Seems XF2.2 has changed something regarding retrieving values of custom thread fields?

gogo

Well-known member
Affected version
2.2
In XF2.1 I could retrieve the values of a multiple selected field by $thread.custom_fields.getFormattedValue('value')}

It will show all selected values, for instance, UK, France, India

But now in XF2.2, the same code will show: <ol class="listInline listInline--customField" data-field="countries"><li>UK</li><li>France</li><li>India</li></ol>

Or is this a bug?
 
Found the solution: {$thread.custom_fields.getFormattedValue('value') | raw}

Something's changed in 2.2 regarding this.
 
The output format of choice-based custom fields has changed in 2.2 according to a developer response in the following bug report:
 
Back
Top Bottom