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

tag-picker Macro

8th July 2024 at 5:55pm

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
Introduced in v5.1.23 The specified field that gets updated with the selected tag. Defaults to tags.
tiddler
New in v5.3.4 Defines the target tiddler, which should be manipulated. Defaults to: currentTiddler.
tagListFilter
New in v5.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.
New in v5.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.

Examples