Tag to current tiddler after selection

25 views
Skip to first unread message

vinvi...@gmail.com

unread,
Aug 28, 2021, 7:07:48 AM8/28/21
to TiddlyWiki
Hello,

The following gives me a list of tiddlers with a checkbox. After selection, the tiddler defined in <<PageToEdit>> is tagged to the selected tiddler.

<$keyboard key="escape" actions='<$action-setfield $tiddler="$:/SearchTiddler" $field="text" $value=""/>'>
<$edit-text tiddler="$:/SearchTiddler" filed=title tag=input default="" placeholder="Search" class="alert alert-info w-100"/>
</$keyboard>

<$list filter="[!is[system]search:text[{{]search:title[,]search:title{$:/SearchTiddler}]" variable=tagname>

   <$checkbox tag=<<tagname>> tiddler=<<PageToEdit>>  ></$checkbox> <<tagname>>
</$list>

But I want to turn this around. I want the selected tiddler to be tagged to the tiddler defined in <<PageToEdit>>

How do I do this?
Reply all
Reply to author
Forward
0 new messages