I use the below button to toggle between day/night palette

<$button>Day/Night
<$action-listops $tiddler="$:/palette" $field="text"
$subfilter="+[toggle[$:/palettes/Vanilla],[$:/palettes/SolarFlare]]"
/>
</$button>

The problem here is if $:/palette is not empty and has not one of the two
values above, then I get the wrong values in the text field (actually the
value is appended). How can I replace the field value using toggle operator.



Best wishes
Mohammad

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMDFmtZ6V%2B_fn-%2BsEau%2BhubYn_EhSR2_2yLdkcPDO0R%2ByQ%40mail.gmail.com.

Reply via email to