I wanted to post because I wanted something non-button with the Action 
Widgets and I ended up solving it. So then it'd be helpful to someone else 
(or me again, in needing to look this up again in the future!).

I wanted to be able to use action-setfield with the Link widget. I added 
this.invokeActions(event);

to be the first line of handleClickEvent in $:/core/modules/widgets/link.js 
and it works like a charm.


All the best,
Stacy


On Sunday, January 4, 2015 at 4:58:49 AM UTC-5, Neil Griffin wrote:
>
> Hi all,
>
> The documentation for ActionWidgets on tiddlywiki.com describes the 
> <$button> widget as an example of a widget that can trigger an action 
> widget.  Am I right in thinking that currently it is the *only* way to 
> trigger an action?  I was hoping to be able to use a <$select> widget to 
> trigger an action-setfield whenever the selected value is changed, but this 
> does not seem to work.
>
> Before I either start implementing a sub-optimal alternative, or 
> attempting to write my own modified widget, does anyone know if there might 
> be an existing solution? Failing that, how hard would it be to add this 
> feature to the <$select> widget (for someone with no experience in 
> modifying widgets, but with a can-do attitude)?
>
> Thanks,
>
> Neil.
>

-- 
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/6b87173a-2c5b-483d-9434-bfdd0a5483d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to