This select widget I use in my topbar to list the storylist tiddlers and make the selected tiddler as currentTiddler
<$select tiddler='$:/HistoryList' field="current-tiddler" class="short-storylist">
<$list filter='[list[$:/StoryList]]'>
<option><$view field='title'/></option>
</$list>
</$select>
I also want to the navigate to the selected tiddler when it is selected from the select widget. For this I added the navigator widget, but its not working.
\procedure navigate-storylist-tiddler()
<$let
currentTiddler={{$:/HistoryList!!current-tiddler}}
>
<$action-navigate $to=<<currentTiddler>>/>
</$let>
\end
<$navigator story="$:/StoryList" history="$:/HistoryList">
<$select tiddler='$:/HistoryList' field="current-tiddler" class="short-storylist" actions=<<navigate-storylist-tiddler>>>
<$list filter='[list[$:/StoryList]]'>
<option><$view field='title'/></option>
</$list>
</$select>
</$navigator>
Can someone help ?
Edit: I tested this code in the tiddlywiki.com and it is working. So the issue must be with my custom layout