From dcb083abb06a6707fc069884a54626c6a148c61c Mon Sep 17 00:00:00 2001 From: Marxsal Date: Mon, 8 Nov 2021 08:59:17 -0800 Subject: [PATCH] Add example of actions attribute to SelectWidget documentation (#6181) --- .../tw5.com/tiddlers/widgets/SelectWidget.tid | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/editions/tw5.com/tiddlers/widgets/SelectWidget.tid b/editions/tw5.com/tiddlers/widgets/SelectWidget.tid index ef4e0581d..d2acb49f9 100644 --- a/editions/tw5.com/tiddlers/widgets/SelectWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/SelectWidget.tid @@ -1,7 +1,7 @@ caption: select created: 20131024141900000 -modified: 20211009121812691 -tags: Widgets TriggeringWidgets +modified: 20211108165037846 +tags: TriggeringWidgets Widgets title: SelectWidget type: text/vnd.tiddlywiki @@ -129,3 +129,16 @@ This example uses the `multiple` keyword to specify that we should be able to se <$view field='title' />
"/> + +!! Actions + +This example uses the actions attribute to apply days of the week as tags to the current tiddler. + +<$macrocall $name="wikitext-example-without-html" src="""<$select tiddler='$:/generated-list-demo-state' field='actions-test' +actions='<$action-listops $field="myfield" $tags={{$:/generated-list-demo-state!!actions-test}}/>' +> +<$list filter='[list[Days of the Week]]'> + + + +"""/>