Hi Eric,
 

> According to those docs, you want to add invertTag="yes", which says:
>
> "When set to yes, flips the tag binding logic so that the absence of the 
> tag causes the checkbox to be checked"
>

I think the problem is that Casey wants to perform two actions in one 
checkbox,
and futhermore it appears that the CheckboxWidget is unfit to do so, see:

*#2217 have CheckboxWidget trigger actions*
https://github.com/Jermolene/TiddlyWiki5/issues/2217

~

*@matabele*, I tried to use the *$action-listops* widget and a button,
but it appears to fail to do what I want:

! Outstanding tasks
<$list filter="[!has[draft.of]tag[task]!tag[In 
Progress]!tag[done]sort[created]]">
<$checkbox tag="In Progress"> <$link to={{!!title}}><$view field="title"/></
$link></$checkbox>
</$list>

! 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>

! Completed tasks
<$list filter="[!has[draft.of]tag[task]tag[done]sort[created]]">
<$checkbox tag="done"> ~~<$link to={{!!title}}><$view field="title"/></$link
>~~</$checkbox>
</$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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/7a9dc5cf-9950-4cf4-8a4d-f1f6a01fbb6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to