[{!!__class}removesuffix[__Class]addsuffix[List::DefinedEvents]get[text]]
The filter above “read” the content of a tiddler which is composed of a serie of tiddler names like : [[XXX]] [[YYY]] [[ZZZ]]
I have uses this list into a <$select>
widget like this:
<$set name="myList" filter="[{!!__class}removesuffix[__Class]addsuffix[List::DefinedEvents]get[text]]">
<$select>
<$list filter="[enlist<myList>]">
<option value=<<currentTiddler>>><<currentTiddler>></option>
</$list>
</$select>
</$set>
The result is disturbing : the list displays 3 items : [[XX
, YY
and ZZ]]
.
- Where those brackets come from?
- How to correctly display
XX
,YY
andZZ
? - Is there a way to chain
[{!!__class}removesuffix[__Class]addsuffix[List::DefinedEvents]get[text]]
andenlist
in the same filter?