Are you trying to change an existing tiddler, or make a new tiddler? If you
want to make a new tiddler, then you're going to need a button (not a
checkbox) and either tm- messages or action widgets to create a new
tiddler. You're also going to need a mechanism to create a new title name
-- probably an <$edit... widget.
Mark
On Thursday, September 29, 2016 at 2:44:25 AM UTC-7, Alfonso Pinto wrote:
>
> 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
>
--
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/d3cb1e6f-abb7-45e9-97a4-17a61af95c9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.