I am looping over some tiddlers with the ListWidget.
I was using the variable attribute, but have removed that to access fields directly (via {{!!fieldname}} type calls, and for best practice reasons, etc.
But I need to know how to refer to the parent tiddler's field (not the child's) in a reveal's state attribute.
This (the "!!edit_priorities"
state, which refers to a field in the parent tiddler) used to work when the filter was using the item variable, but needs some tweaking now, because the "scope" it's in has changed to the child tiddler (I assume).
<$list filter="[tag[Task]!tag[Done]]" >
<$reveal type="match" state="!!edit_priorities" text="1">
<$edit-text field="priority" size="3" />
</$reveal>
<nobr> <$checkbox tag="Done"/> <$link>{{!!title}}</$link></nobr>
<br/>
</$list>
So, in words, what I'm trying to do is list todo tasks that are not tagged as done. In that tiddler as well is a field, which I use to control the display of the Priority edit boxes. If I set that field to '1', then I want the reveals to show the edit boxes for each task.
Thank you!