How to <$list> based on a select widget option value ?

53 views
Skip to first unread message

vpl

unread,
Apr 5, 2019, 3:52:57 AM4/5/19
to TiddlyWiki
Hi,

My goal
- A select widget that list all the Tag available in my tiddly
- A List whose filter is based on the select option value

What is running
The following code display correctly the widget with the list of available tags. The result is set to the currentTiddler sortfield. FIne !!
<$select field="sortfield">
<$list filter='[all[tiddlers]tags[]sort[title]]'>
<option value=<<currentTiddler>>><$view field='title'/></option>
</$list>
</$select>

What is not working is the <$list> ...
I've tried the following but none is working ...

<$list filter="[search:tags[{!!sortfield}]]sort[created]reverse[]]"/>
<$list filter="[tag[{!!sortfield}]]sort[created]reverse[]]">

Any help to solve this basic problem ... I guess

Thanks again for your support which is always very efficient !

Regards

Vpl


vpl

unread,
Apr 5, 2019, 5:59:39 AM4/5/19
to TiddlyWiki
Hi

I finally made it running

<$list filter="[search:tags:{!!sortfield}sort[created]reverse[]]">

Rgards
Reply all
Reply to author
Forward
0 new messages