I’ve managed to fix the “leading +” issue so it doesn’t add the “poltergeist” tag!
Instead of using
<$action-listops $tags="[<tid>get[tags]enlist-input[]]"/>
my code now uses
<$action-listops $field=tags $filter="[enlist{!!tags}] [<tid>get[tags]enlist-input[]]"/>
As previously noted, the problem was the $action-listops
widget handling for $tags="[...]"
, which treats the parameter value as a subfilter, and thus was interpreting the leading “+” in a tag value as a filter run prefix, which produced the unexpected results.
In contrast, by using $field=tags $filter="[...]"
, the $action-listops
widget does NOT treat the $filter
parameter value as a subfilter. Thus, we can explicitly combine the existing tags with the “imported” tags by using [enlist{!!tags}] [<tid>get[tags]enlist-input[]]
, and a leading “+” in a tag value is no longer interpreted as a filter run prefix.
TA DA!
Of course, we still have the problem of mobile platforms completely screwing up the multi-line list box rendering by forcing it to be a single-line droplist
Get the updated TiddlyTools edit template here: TiddlyTools/Templates/CopyTags
-e