Hi @twMat

I can confirm that the action string is in fact executed after the target 
tiddler has been set. The problem is subtler: any variables setup outside of 
the action string will not be updated to reflect the new value of the target 
tiddler. So you need to make sure you directly compute anything that depends on 
that tiddler.

Best wishes

Jeremy

> On 2 Jul 2019, at 16:03, Mat <[email protected]> wrote:
> 
> The SelectWidget <https://tiddlywiki.com/prerelease/#SelectWidget> has a 
> parameter named "tiddler" where the selected title is stored.
> 
> I want to perform an action to the selected item, so I'm using the 
> SelectWidget action attribute.
> 
> However, when selecting a title in the list it seems the actions are 
> performed before the title is added to the state tiddler.
> 
> How can the actions be made to affect the selected title?
> 
> (Currently, the first time the SelectWidget is used, it triggers an action 
> without anything being set, as if it was a separate action widget button. And 
> selecting a second title triggers the action to be performed on the first 
> selection title - !?)
> 
> <:-)
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/tiddlywiki 
> <https://groups.google.com/group/tiddlywiki>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/94e81452-52fc-41ec-a022-ecd973e5829d%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/94e81452-52fc-41ec-a022-ecd973e5829d%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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/0CFBA8FE-0CE6-42ED-B745-F80BD0CEA9D4%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to