mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-28 11:00:27 +00:00
Merge pull request #1018 from Evolena/patch-2
Update selectWidget example (the tag was deleted)
This commit is contained in:
commit
d44d94e9b4
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user