Hi Danielo

The edit widget works by rewriting the current tiddler with the new field
value at every keypress. The effect of rewriting it with a different title
will be to leave the tiddler with the old title intact, hence the
proliferation of tiddlers that you're seeing. We should probably detect
attempts to edit the title field and prevent it.

Rather than editing the title field directly, the approach TiddlyWiki uses
is to edit the "draft.of" field of draft tiddlers, and then have the
"tw-save-tiddler" message in the navigator widget save the tiddler under
that title. You can see how it's done in the core edit template.

Best wishes

Jeremy





On Wed, Apr 2, 2014 at 9:42 PM, Danielo Rodríguez <[email protected]>wrote:

> Hello everyone,
>
> I don't sure about this, but I think this has been working before.
> Currently using this <$edit field="title"/> results in a new tiddler every
> key stroke.
> I'm not doing this for the tiddler where it is but for a different one.
> I have this tiddler:
>
> edit
> <td><$edit field="title"/></td><td><$edit field="user"/> </td><td><$edit
> field="grupo"/></td><td> <$edit field="rol"/> </td>
>
> Which I use in this way
>
> {{tiddlerToEdit||edit}}
>
> How can I avoid this horrible behavior?
> Thanks in advance.
>
> --
> 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 http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to