All,
I was looking at the release notes for the 5.1.14 prerelease, and it
mentioned the actions param of the checkbox widget. Excited, I checked it
out, only to be confused. From the description of the param "A string
containing ActionWidgets to be triggered when the checkbox is clicked" it
sounds like it triggers actions set as a param, rather than actions that
are children of the checkbox widget. This is the opposite of how buttons
work, and makes it difficult to have multiple action widgets, and
impossible to generate actions widgets from a a <$list> widget. As an
example, I'd like to be able to do this.
<$checkbox actions="true">
Add tags from [[Example]] and [[Example 2]]
<$list filter="[[Example]] [[Example 2]] +[tags[]]" variable="tag">
<$action-sendmessage $message="tm-add-tag" param=<<tag>> />
</$list>
</$checkbox>
Is there a reason why the actions param is the actual list of actions?
Would a PR for my suggestion be welcome?
Matt Lauber
--
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/f85a75da-812a-4d7e-aad6-165aecc88819%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.