Add a dropdown menu

69 views
Skip to first unread message

vinvi...@gmail.com

unread,
Feb 22, 2021, 5:17:23 AM2/22/21
to TiddlyWiki

This code lists the title of tiddlers tagged with (P) with a checkbox. After selection, the relevant tiddler will be tagged to the current tiddler.


\define tagging() $(currentTiddler)$

<$list filter=[tag[(P)]] variable=tagname>

   <$checkbox tiddler=<<tagname>> tag=<<tagging>> ></$checkbox> <<tagname>>,
</$list>


What I want is to select with a dropdown menu what tiddlers titles are listed with a chexbox.


<$select tiddler='$:/generated-list-demo-state'>
<$list filter='[tag[(G)]]'>
<option><$view field='title'/></option>
</$list>
</$select>
<$tiddler tiddler={{$:/generated-list-demo-state}}>
<$transclude mode='block'/>
</$tiddler>

Thank you,
Reply all
Reply to author
Forward
0 new messages