This code here prints the user’s selection wonderfully & simply.
<$select tiddler='$journal.entry.new' field='transaction.entry.ledger.id.debit'>
<option value='cities'>A Tale of Two Cities</option>
<option value='science'>A New Kind of Science</option>
<option value='dice'>The Dice Man</option>
</$select>
{{$journal.entry.new!!transaction.entry.ledger.id.debit}}
Should one try to use a list filter for the option values suddenly tiddlywiki becomes reluctant to print the selection.
<$select tiddler='$journal.entry.new' field='transaction.entry.ledger.id.debit'>
<$list filter="[data[ledger]]">
<option value={{!!ledger.id}}><$view field='ledger.title'/></option>
</$list>
</$select>
{{$journal.entry.new!!transaction.entry.ledger.id.debit}}
You would figure if the first snippet works why wouldn’t a listed syntax work as well!?
what am i doing wrong?