Without going over the code in detail, keep in mind that the "action" 
attribute gets run both when the box is checked AND when it is unchecked. 
You
may have to wrap your action code in a list or reveal widget to prevent 
"actions" from occurring during uncheck. 

My apologies if you have already allowed for this.

On Friday, July 12, 2019 at 9:24:33 PM UTC-7, Mohammad wrote:
>
>
> *Problem*
> A checkbox widget is used to switch done/undone state it uses
>
>    - A state tiddler to store states: done / undone
>    - A task tiddler to store a pair value/item like *test:2019* 
>    - A done tiddler to store a pair value/item like *test:2019*
>
> *It uses actions and uncheckedactions*
>
>    - When the status is done the actions calls a macro to move the 
>    item/value to done tiddler
>    - When the status is undone the uncheckedactions calls a macro to move 
>    item/value to task tiddler
>
> *Issue*
>
>    - The actions macro/parameter seems to work fine
>    - The uncheckedactions fails: *It moves item/value to task tiddler but 
>    the value is empty!!*
>
> To reproduce the issue a set of tiddlers is attached. Also the below wiki 
> can be used to reproduce the issue
>
> http://hirad.tiddlyspot.com/
>
>
> *Further note*
> Both macros are used for actions /uncheckedactions are tested separately 
> using buttons and seems they are correct!!
>
>
> Best regards
> 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 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/51ad4882-1815-4137-b44e-c6c3ef26bf02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to