diff --git a/editions/tw5.com/tiddlers/widgets/SelectWidget.tid b/editions/tw5.com/tiddlers/widgets/SelectWidget.tid index 47c1117a6..8042b9d86 100644 --- a/editions/tw5.com/tiddlers/widgets/SelectWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/SelectWidget.tid @@ -53,6 +53,17 @@ This example sets the title of the current wiki [[$:/SiteTitle]] to one of a lis "/> +!!! Simple List with Placeholder Value + +To display a default value that is also disabled, effectively functioning as a placeholder, this form can be used: + +<$macrocall $name="wikitext-example-without-html" src="<$select tiddler="$:/SiteTitle" default="Choose a new site title"> + + + + +"/> + !! Value lists In this example the `value` attribute has been used to specify the text that should be used as the value of the entry instead of the display text. @@ -117,4 +128,4 @@ This example uses the `multiple` keyword to specify that we should be able to se <$list filter='[list[$:/generated-list-demo-state!!testing]]'> <$view field='title' />
-"/> \ No newline at end of file +"/>