Reorder list field content

58 views
Skip to first unread message

TonyM

unread,
Jul 3, 2018, 11:42:22 PM7/3/18
to TiddlyWiki
Folks,

I have finally started playing with drag and drop

I am trying to reorder items found in a list field so I started with the 

list-links-draggable Macro

and have tried using it on other fields

Even in the simple case of
<<list-links-draggable>> 
operating on the links field of the current tiddler.

I get the list of values and can drag and drop the values however they always return to their original position and the field is left untouched.

I know the tag pills and other methods work, but not this way.

Any suggestion on how I can make this work

TiddlyWiki 5.1.17 on Latest firefox (windows 10)

Thanks in advance
Tony




Mark S.

unread,
Jul 4, 2018, 12:45:05 AM7/4/18
to TiddlyWiki
I think the same principle may apply here that works with the edit widget -- you can't use the widget inside of the same tiddler where it is invoked.

So, I tried list-links-draggable inside a macro, calling it's list field, and, as you say, the sort order wouldn't "stick".

But, if I moved the list field into a different tiddler and referenced it, then it would work.

Good luck!
-- Mark
Reply all
Reply to author
Forward
0 new messages