Hello Jeremy, I tried your solution and fixes some problems, but now I have to face two new issues:
- *The field is, by default, empty . Here is what I tried: - <$edit-text field="draft.title" default={{!!title}}/> - Typing again the same name for the tiddler results in a blank tiddler - After saving the tiddler a tw-navigate event is triggered. Thank you very much. El jueves, 3 de abril de 2014 19:39:12 UTC+2, Jeremy Ruston escribió: > > 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 > <rdan...@gmail.com<javascript:> > > 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 tiddlywiki+...@googlegroups.com <javascript:>. >> To post to this group, send email to tiddl...@googlegroups.com<javascript:> >> . >> Visit this group at http://groups.google.com/group/tiddlywiki. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Jeremy Ruston > mailto:jeremy...@gmail.com <javascript:> > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.