How to rmove an index....

41 views
Skip to first unread message

Jan

unread,
Aug 13, 2020, 3:13:31 PM8/13/20
to TiddlyWiki
Hi folks!
Is there a widget to remove an index? I could not find how to do this in
the documentation.
It should be possible to do this in Wikitext, but is there a more direct
way?

Thanks for enlightment!
Jan

JD

unread,
Aug 13, 2020, 3:37:47 PM8/13/20
to TiddlyWiki
Hi Jan,

<$action-setfield> can do it!

<$action-setfield $tiddler="indexbase" $index="fruit" $value=""/> will set the index blank, while...

<$action-setfield $tiddler="indexbase" $index="fruit"/> will delete the index itself (no $value specified)

It's documented in https://tiddlywiki.com/#ActionSetFieldWidget in Attribute: $value row, but maybe not clearly? 

-jd
Reply all
Reply to author
Forward
0 new messages