Hi folks,
I am creating a system to manage a list of events (header, date, text) associated to a tiddler (his history).
Now I want to edit an event without opening the event tiddler, but directly in the history display.
For that, I need to display a ‘switch’ button per event that switch between ‘view’ and ‘edit’ display modes.
In my event template, I want to use the $reveal widget but I can’t figure out how to target the correct tiddler (stored in the variable “item” instead of “currentTiddler”, from the history loop).
I have tried this:
<$reveal type="match" state="<<item>>!!mode" text="edit">
and this :
<$reveal type="match" stateTitle=<<item>> stateField="!!mode" text="edit">
What am I doing wrong? (v 5.2.1)