Hi,
I want to use TiddlyWiki to keep track of all my task for different projects.
I've one tiddler for each project. These tiddlers have the tag "project"
Now, I want to add a checkbox when creating a new task so I can select to which project or projects the task belongs to.
I've this:
|!Description |<$edit-text field="description" placeholder="Description"/> |
|!Due |<$edit-date icon="$:/plugins/kixam/datepicker/icon" tag=div field="due" fieldFormat="YYYY-MM-DD" firstDay="1"/><$view field="due"/>|
|!Priority |<$edit-text field="priority" placeholder="priority" tag="input" type="text"/> |
|!Project |<$list filter="[!has[draft.of]tag[project]]"><$checkbox tag={{!!title}}> {{!!title}}</$checkbox><br/></$list>|
The issue is that when I press the checkbox, the tag is added to the project tiddler instead of the new task tiddler I'm creating.
I guess this is because $list sets currentTiddler to the tiddler being iterated by the list at that moment.
I'm out of ideas on how to reference the tiddler that is holding the list instead the one being iterated.
Thanks in advance.
Regars,
Alfonso