In my expanding list of things that look like they should work, but fail: <$list filter="1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 +[addprefix[$field$]] +[first[$:/Data/$(currentTiddler)$]getindex[$field$]]" variable="idx">
On Wednesday, June 7, 2017 at 6:05:51 PM UTC-5, [email protected] wrote: > > I have a table of text-edit fields. and a variable that determines the # > of rows. > All data is stored in a data tiddler. on first view, some indexes won't > exist yet, so i can't do any fancy [indexes] filtering. > > > > <$list filter="1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 +[addprefix[$field$]] > +[first[<$transclude tiddler="$:/Data/$(currentTiddler)$" > index="$field$"/>]]" variable="idx"> > <tr><td> > <$edit-text tiddler="$:/Data/$(currentTiddler)$" index=<<idx>> > tag="input" /> > </td></tr> > </$list> > > What ends up rendering for me is: > (field == 'hind' which has a value of '6') > <$list filter="1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 +[addprefix[hind]] > +[first[6]]" variable="idx"> > > but i clearly should not be seeing the tag, it should be getting rendered. > > as a result, <<idx>> renders once and contains the json string contentds > of the Data tiddler. > > > Is there a better way to do this? Am i missing something? > > -- 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/44ec7cdb-5cd3-4f30-a9f1-eff0c1826c8a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

