Le mardi 29 septembre 2015 23:05:48 UTC+2, Bob Flandard a écrit :
> The
> <option>
> {{{ [tag[some field]each[field_name_2]get[field_name_2]sort[title]] }}}
> </option>
>
> part just concatenates all the field values into a single line with no
> spaces, rather than a list of separately selectable options, that I was
> hoping for.
>
> Where might I have gone wrong?
>
> Thank you, Bob
>
This syntax transcludes a list of tiddlers (in fact, here each field value
retrieved by the get operator is considered as a tiddler's title) matching
a specified filter. This is not suitable for the usage with the options of
the select widget, where you want an explicit list widget outside the
option element, so that each value returned by the filter becomes an option.
<$list filter="[tag[some
field]each[field_name_2]get[field_name_2]sort[title]]">
<option>
<$view field="title"/>
</option>
</$list>
You can also use <<currentTiddler>> instead of the view widget.
--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/8dc65c34-fbdb-4b53-8280-e6a435d59282%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.