How to mimic tab bar behaviour

91 views
Skip to first unread message

Tristan Kohl

unread,
Dec 3, 2018, 3:12:11 PM12/3/18
to TiddlyWiki
Hey guys,

I have a field in one of my templates which I would like to populate with a selection of tiddlers I choose from a list. When I select one I would like to have that tiddler added to a field in my "to-be-created"-Tiddler so all selected tidders get shown on my template and I can remove any of them if I missclicked.

I know that I can use a select widget (which I currently do) with "multiple" but if I have a big list of possible tiddlers to choose from holding down Ctrl everytime gets somewhat impractical (forget it once and all previous selections are gone). Therefore I was digging around hoping to find out how the tab bar was implemented as it pretty much does exactly what I want. I would need to trim it a little so it interacts with a field other than "tags" but all the functionality is there already. Does anybody have a hint for me as to where I can find the implementation of tags bar?

Thanks in advance.

Cheers
Tristan

TonyM

unread,
Dec 3, 2018, 11:00:54 PM12/3/18
to TiddlyWiki
Tristain

When you say tabs bar do you mean tags bar in edit mode?

Marios alt tags plugin provides tag like behaviour for other fields, if this is not what you are looking it may have some code in it you could use.

Regards
Tony

Tristan Kohl

unread,
Dec 4, 2018, 7:02:33 AM12/4/18
to TiddlyWiki
Hi Tony,

of course I meant tag - don't know why I wrote tab here :/

Could you point me to Mario's plugin? I seem not to be able to find it here when looking for alt tag.

Cheers,
Tristan

TonyM

unread,
Dec 4, 2018, 6:02:23 PM12/4/18
to TiddlyWiki
Tristan,

Sorry the plugin is called Gen Tags and provides alternate tags :)

And its Jeds not Marios. 


Regards
Tony
Reply all
Reply to author
Forward
0 new messages