Using the select widget to define list results

At a lost . . . what is the best way to utilize a SELECT to change the results of LIST output. I do not want to create a tiddler ( which my searches keep turning up ) just display the contents. It is probably a simple solution that currently escapes me.

My select looks like this.

<$vars title="$:/temp/tree/person!!datatitle" >

<$select class="tw-block-dropdown" tiddler="$:/temp/tree/person" field="datatitle" default=" * * * * " >
<option> * * * * </option>
<$list filter="[prefix[?data/]sort[]]">
<option><$view field="title"/></option> 
</$list>
</$select>

my list is two tier

the first list and one I think needs to have select affect is this one

<$list filter="[prefix[?data/]sort[title]]">

which then affects the output list ( here for reference )

<hr><$list filter="[<currentTiddler>indexes[]]" variable="thisIndex"  counter="counter">

<<counter>> : <<thisIndex>> &rArr; <$link>{{!!title}}</$link>

</$list>
1 Like

Your option tags inside the list filter need to have values. e.g. …

<option value=<<currentTiddler>>> ...

Your second tier list widget needs to reference the selection tiddler. Possibly like:

<$list filter="[{$:/temp/tree/person!!datatitle}indexes[]]" variable="thisIndex" counter="counter">