Trying to implement behaviour similar to the default tag list to create one-to-many relationships in one of my plugins. It seems as though the actions of the tag-pill do not get triggered whereas those of the button do. What am I missing?
This dumbed down version was exported from tiddlywiki.com.
result: a
test: a b c d
title: TestTiddler
<<tag-picker
tagListFilter:"[<currentTiddler>get[test]enlist-input[]] -[<currentTiddler>get[result]enlist-input[]]"
tagField:"result"
>>
!! Klicking the pill does not work
<$list filter="[<currentTiddler>get[result]enlist-input[]]" variable="tagname">
<$transclude
$variable="tag-pill"
tag=<<tagname>>
actions="""<$action-listops $field="result" $subfilter="-[<tagname>]" />"""
/>
</$list>
!! Klicking the button work
<$vars tagname="a">
<$button actions="""<$action-listops $field="result" $subfilter="-[<tagname>]" />"""
>
Klick
</$button>
</$vars>
Also any tips how to improve this use-case are very much appreciated.
Thank you for any help!