In my ongoing journey to build my Gift Ideas notebook, I’m using a template to display on each tiddler tagged as gift, a draggable list of the to-gift field :
<$macrocall
$name=list-links-draggable
tiddler=<<currentTiddler>>
field=to-gift
itemTemplate=.itemTemplateGiftToGift />
That works just fine. What doesn’t work is what I’m typing in the .itemTemplateGiftToGift to include an × that should remove that entry from the to-gift field:
<$button
class='tc-btn-invisible tc-btn-mini tc-small-gap-right'
actions="""<$action-listops $tiddler=<<currentTiddler>> $field="to-gift" $subfilter="-[{!!title}]"/>""">
{{$:/core/images/close-button}}
</$button> <$link/>
I’ve also tried bringing the action-listops outside the button as such:
<$button
class='tc-btn-invisible tc-btn-mini tc-small-gap-right'>
{{$:/core/images/close-button}}
<$action-listops $tiddler=<<currentTiddler>> $field="to-gift" $subfilter="-[{!!title}]"/>
</$button> <$link/>
The × doesn’t remove the entries as I thought it would/should. Here’s what looks OK, but doesn’t work OK (I haven’t yet added the × to the list on the right):


yeah thats what my tiddlers look all the time when I code in TW. I can barely take cred for that idea though, I’m pretty sure that’s just “how people do it” when bug hunting.