[tw5] Re: How to use action-delete-tiddler in a list widget?
Thank you TW Tones and Mark S! TW Tone's solution works great. Blessings, On Wednesday, January 6, 2021 at 4:19:22 PM UTC-6 David Gifford wrote: > Hi everyone > > I have a list widget for tasks, and I would like to have a way to delete > tiddlers in the list. > > I tried > > <$list filter="[!is[system]all[current]tagging[]sort[title]]"><$button > class="tc-btn-invisible tc-tiddlylink"><$action-deletetiddler />< {{$:/core/images/delete-button}}>><$link><$view > field="title"/> > > and > > <$list filter="[!is[system]all[current]tagging[]sort[title]]"><$button > class="tc-btn-invisible tc-tiddlylink"><$action-deletetiddler > $tiddler="[is[current]]" />< {{$:/core/images/delete-button}}>><$link><$view > field="title"/> > > Nothing happens with either of these. > > Thanks in advance for your help! > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ad1e0c9d-0a74-4596-bad7-cf856993a46an%40googlegroups.com.
[tw5] Re: How to use action-delete-tiddler in a list widget?
Mark, Yes there a few cases of this, including a mismatch in when to use $ and not $ My approach bypasses this by using already working buttons. Tones On Thursday, 7 January 2021 at 10:01:25 UTC+11 Mark S. wrote: > The documentation says that the $tiddler attribute is optional. It appears > to be mandatory. So set $tiddler=<> (inside of > action-deletetiddler) and it should work. > > On Wednesday, January 6, 2021 at 2:19:22 PM UTC-8 David Gifford wrote: > >> Hi everyone >> >> I have a list widget for tasks, and I would like to have a way to delete >> tiddlers in the list. >> >> I tried >> >> <$list filter="[!is[system]all[current]tagging[]sort[title]]"><$button >> class="tc-btn-invisible tc-tiddlylink"><$action-deletetiddler /><> {{$:/core/images/delete-button}}>><$link><$view >> field="title"/> >> >> and >> >> <$list filter="[!is[system]all[current]tagging[]sort[title]]"><$button >> class="tc-btn-invisible tc-tiddlylink"><$action-deletetiddler >> $tiddler="[is[current]]" /><> {{$:/core/images/delete-button}}>><$link><$view >> field="title"/> >> >> Nothing happens with either of these. >> >> Thanks in advance for your help! >> > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a855e805-3f3d-4f7c-8269-0137200e2eedn%40googlegroups.com.
[tw5] Re: How to use action-delete-tiddler in a list widget?
The documentation says that the $tiddler attribute is optional. It appears to be mandatory. So set $tiddler=<> (inside of action-deletetiddler) and it should work. On Wednesday, January 6, 2021 at 2:19:22 PM UTC-8 David Gifford wrote: > Hi everyone > > I have a list widget for tasks, and I would like to have a way to delete > tiddlers in the list. > > I tried > > <$list filter="[!is[system]all[current]tagging[]sort[title]]"><$button > class="tc-btn-invisible tc-tiddlylink"><$action-deletetiddler />< {{$:/core/images/delete-button}}>><$link><$view > field="title"/> > > and > > <$list filter="[!is[system]all[current]tagging[]sort[title]]"><$button > class="tc-btn-invisible tc-tiddlylink"><$action-deletetiddler > $tiddler="[is[current]]" />< {{$:/core/images/delete-button}}>><$link><$view > field="title"/> > > Nothing happens with either of these. > > Thanks in advance for your help! > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/010b244d-d40f-4e0b-bc40-56ecadc2b75dn%40googlegroups.com.