Thanks Jeremy.  I'll have a delve when I get a moment.

On Sunday, 4 January 2015 10:08:25 UTC, Jeremy Ruston wrote:
>
> Hi Neil
>
> > 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?
>
> That's correct, only the button widget triggers action widgets at the 
> moment.
>
> > 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)?
>
> It would be fairly straightforward. In the handleChangeEvent handler of 
> the select widget we need to call self.invokeActions(event).
>
> There are a few other widgets that should be enabled, too: link, checkbox, 
> radio and maybe keyboard, edit-*, dropzone.
>
> Best wishes
>
> Jeremy.
>
>
>
>
>
> On Sun, Jan 4, 2015 at 9:58 AM, Neil Griffin <[email protected] 
> <javascript:>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:[email protected] <javascript:>
>  

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to