Hi Tobias

The $tags= attribute accepts a subfilter, which is applied as a run to the 
the existing contents of the 'tags' field -- so use:

<$action-listops $tags="done -[[In Progress]]"/>

AS far as I remember, I included this option to render the 
setting/unsetting of tags as quick and easy as possible.

It could also be done using the $filter= attribute -- like this:

<$action-listops $field="tags" $filter="[list[!!tags]] done -[[In 
Progress]]"/>

or like this:

<$button><$action-listops $field="tags" $subfilter="done -[[In 
Progress]]"/>Set</$button>

The $tags= attribute is simply a shortcut.

regards

On Tuesday, 12 January 2016 15:19:54 UTC+2, Tobias Beer wrote:
>
> *@matabele*, I tried to use the *$action-listops* widget and a button,
> but it appears to fail to do what I want:
> ! In Progress...
> <$list filter="[!has[draft.of]tag[task]tag[In Progress]sort[created]]">
> <$button class="tc-btn-invisible"><input type="checkbox"/><$action-listops 
> $field="tags" $subfilter="+done -[[In Progress]]"/></$button>
> <$link to={{!!title}}><$view field="title"/></$link>
> </$list>
>
> Also, how to use *$action-listops* with the *$tags* attribute while 
> preserving the existing tags?!?
>
> Best wishes,
>
> Tobias. 
>

-- 
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/460c4cba-d194-4b6a-b17a-1effdeded714%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to