Hi all,

I want a button at the bottom of tiddlers with a certain tag that, when 
clicked, will remove that tag and then disappear. Similar to what I've done 
here but removing a tag rather than cycling through:

~~~
<$list filter="[[{{!!title}}]]+[tag[Review]!days:created[-5]]
[tag[Review2]!days:created[-12]]
[tag[Review3]!days:created[-21]]
[tag[Review4]!days:created[-35]]
[tag[Review5]!days:created[-60]]
[tag[Review6]!days:created[-100]]
[tag[Review7]!days:created[-150]]
[tag[Review8]!days:created[-230]]
[tag[Review9]!days:created[-365]]
">
<br>
<hr>
<$button>Mark as Reviewed
<$action-listops $tags="+[cycle[Review Review2 Review3 Review4 Review5 
Review6 Review7 Review8 Review9 Year+]]"/>

</$button>
</$list>
~~~

But for some reason it doesn't work when I try to combine the list filter 
widget and FieldMangler widgets to add a tag like this:

~~~
<$list filter="[[{{!!title}}]]+[tag[Current]]">

<$fieldmangler>
<$button message="tm-remove-tag" param="Current"></$button>
</$fieldmangler>

</$list>

~~~

It seems list filter and FieldMangler don't play well together but I don't 
know of another way to make the button disappear once the tag is removed. 
Also, for some reason the filter syntax "[[{{!!title}}]]+[tag[Current]]" or 
"[[{{!!title}}]tag[Current]]" doesn't work even though it seems to work 
fine on the example above. 

Thanks in advance!

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/aa653ba8-7849-4635-81ce-31618a1e61b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to