Update selectWidget example (the tag was deleted)

print-window-tiddler
Evolena 2014-10-28 17:13:00 +01:00
rodzic c2245e1898
commit 217614b7c6
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -74,10 +74,10 @@ Entries in the list can be grouped together with the `<optgroup>` element
!! Generated Lists
The ListWidget can be used to generate the options for a select widget. For example, here we combine a select widget listing all the tiddlers tagged ''introduction'' with a transclusion to display the text of the selected one.
The ListWidget can be used to generate the options for a select widget. For example, here we combine a select widget listing all the tiddlers tagged ''TableOfContents'' with a transclusion to display the text of the selected one.
<$macrocall $name="wikitext-example-without-html" src="<$select tiddler='$:/generated-list-demo-state'>
<$list filter='[tag[introduction]]'>
<$list filter='[tag[TableOfContents]]'>
<option><$view field='title'/></option>
</$list>
</$select>