ah, not that it's real code but it should say default={{!!title}} , i.e
without quoteation marks.
On Monday, February 27, 2017 at 7:29:55 AM UTC+1, Mat wrote:
>
> No complete answer, but I think this idea might work;
>
> Use the same filter for a wrapping list from which you use only the first
> element as the default.
>
> <outerlist...first[]>
> <select ... default="{{!!title}}">
> <innerlist>
> <option>
> </innerlist>
> </select>
> </outlerlist>
>
> Never tested.
>
> <:-)
>
>
> On Sunday, February 26, 2017 at 9:31:35 PM UTC+1, Jeff Vance wrote:
>>
>> I have a tiddler with a SelectWidget that runs a filter to get a list of
>> options. I want the selection to always default to the very first entry,
>> which will change over time as new tiddlers are created. I haven't seen
>> any examples of how to do this. I see that I can set a default selection
>> by name, but in my case the name I want will always change. Is there a way
>> to do this that I'm missing? I would love to just say, whichever is the
>> first entry in the list, select that by default.
>>
>
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/e17630f6-6323-4a6e-bd9f-017d5a6226bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.