This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

tag-picker Macro

8 juillet 2024 à 17h55

The tag-picker macro generates a combination of a text box and a button that allows a tag to be selected and added.

Parameters

actions
Action widgets to be triggered when the pill is clicked. Within the text, the variable tag contains the title of the selected tag.
tagField
Depuis : 5.1.23 The specified field that gets updated with the selected tag. Defaults to tags.
tiddler
Depuis : 5.3.4 Defines the target tiddler, which should be manipulated. Defaults to: currentTiddler.
tagListFilter
Depuis : 5.3.4 This parameter defaults to: [tags[]] which creates a list of all existing tags. If the tag list should come from a different source the filter should look similar to eg: [<listSource>get[field-name]enlist-input[]]. See examples.
Depuis : 5.3.5 This parameter defaults to: [tags[]sort[]]. This change allows a custom sort order, since sort[] is not hardcoded into the tag-picker macro anymore.

Exemples