Here try this code, this will give you the original functionality you asked
for, ie checked checkboxes, and if you want to exclude something, just
uncheck it. There is a slight difference in the filter syntax. DO NOT use
the outer brackets. ie, if your normal filter is [tag[HelloThere]], just
give tag[HelloThere]
\define listflter() [$(basefilter)$]
\define exclude()
[is[tiddler]$(basefilter)$] -[exclusionstatus[exclude]]
\end
<$edit-text tiddler="$:/temp/delete-filter" tag="input" placeholder="enter
a filter" default="" size=50/>
<$reveal state="$:/temp/delete-filter" type="nomatch" text="">
<$button class="tc-btn-invisible">
<$action-setfield $tiddler="$:/temp/delete-filter" $field="text" $value=""/>
{{$:/core/images/close-button}}
</$button>
</$reveal>
<$set name="basefilter" value={{$:/temp/delete-filter}}>
<$reveal state="$:/temp/delete-filter" type="nomatch" text="">
<$list filter=<<listflter>>>
<$checkbox field="exclusionstatus" checked="include" unchecked="exclude"
default="include">{{!!title}}</$checkbox>
</$list>
</$reveal>
<$button>Delete Selected
<$list filter=<<exclude>>>
<$action-deletetiddler $filter=<<exclude>>/>
</$list>
<$list filter="[has[exclusionstatus]]">
<$action-setfield $field="exclusionstatus"/>
</$list>
</$button>
</$set>
--
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/74ccba10-5160-4c64-a022-5da42e957334%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.