{{#caprint: does not work inside token fields
example:
<_token
name="@@@[label][]"
id="tokener-{{#replace:@@@[label]| |-}}"
separator="@@@[separator]"
class="form-control"
multiple="multiple"
input-length-trigger="@@@[input-length-trigger]"
query="@@@[query]"
allowclear
>{{#caamap:
{{#caprint:$class[{{{type|}}} properties][@@@[label]]}}
|;
|__Value__
|<input
type="option"
selected="selected"
value="__Value__"
>{{#if:{{#show:__Value__|?Title}}
|{{#show:__Value__ |?Title}}
|__Value__
}}</input> |}}</_token>
workround:
{{#vardefine:@selected|{{#caprint:$class[{{{type|}}} properties][@@@[label]]}} }}
<_token
name="@@@[label][]"
id="tokener-{{#replace:@@@[label]| |-}}"
separator="@@@[separator]"
class="form-control"
multiple="multiple"
input-length-trigger="@@@[input-length-trigger]"
query="@@@[query]"
allowclear
>{{#caamap:
{{#var:@selected}}
|;
|__Value__
|<input
type="option"
selected="selected"
value="__Value__"
>{{#if:{{#show:__Value__|?Title}}
|{{#show:__Value__ |?Title}}
|__Value__
}}</input> |}}</_token>