Action-setfield not working in a tiddler tagged $:/tags/ViewToolbar?

Hi. I am working on adding a custom button to the View toolbar that will toggle the status field of the tiddler it is attached to between two values. I’m wondering why this is not working:

<button title={{$:/jenn/buttons/ponder!!description}} class='tc-btn-invisible'>
{{$:/images/fa5/solid/fingerprint}}
<$action-setfield $tiddler="$:/jenn/buttons/ponder" status="forget"/>
</button>

I added the designated tiddler to try and make sure I was getting the context right.

use TW widget <$button tooltip=... >, not HTML element <button title=...>

-e

3 Likes

In addition to erics comment once the button is on tiddlers dont you want it to use $tiddler=<<currentTiddler>>