With the "is[current]" bit, it looks like you're trying to make view 
template for the button. But since every single tiddler already has a 
delete button, I'm not sure what the point it.

As a view template, this works:

<$list filter="[is[current]has[due]]">
<$button message="tm-delete-tiddler"  >Delete</$button>
</$list>

Note that the message is "tm-delete-tiddler" and you don't need 
fieldmangler.

If you're trying instead to make a list of items with the due field and 
their delete buttons, then something like this should work:

<$list filter="[has[due]]">
<$button message="tm-delete-tiddler"  >Delete 
<<currentTiddler>></$button><br/>
</$list>


Good luck!
-- Mark


On Sunday, December 2, 2018 at 3:58:03 PM UTC-8, Dave wrote:
>
> I want to (for some tiddlers) be able to delete them without going into 
> edit mode with something like this:
> <$fieldmangler><$list filter="[is[current]has[due]]" variable=null>
>   <$button message="tm-delete" tooltip="delete" class="tc-tag-label 
> tc-btn-invisible">
>     - delete
>   </$button>
> </$list></$fieldmangler>
>
> but this doesn't actually work
>
> Is there a way to do this properly?
>
>
>

-- 
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/ed2eef30-8439-46a4-9a93-18cd8dc59ca2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to