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

keyboard-driven-input Macro

Core Macros Macros

The keyboard-driven-input macro generates an input field or textarea that lets you cycle through a given list of entries with the Up and Down keys. Doing so, an entry gets selected and can be processed with further actions

Parameters

To create the input field or textarea, the keyboard-driven-input macro accepts all parameters of the EditTextWidget

The additional parameters are:

parameterpurpose
storeTitlethe title of the tiddler that stores the user input
selectionStateTitlethe title of the tiddler that stores the selected entry with a -primaryList or -secondaryList suffix to make it unique
inputAcceptActionsthe actions that get processed when the user hits Enter
inputAcceptVariantActionsthe actions that get processed when the user hits ctrl-Enter
inputCancelActionsthe actions that get processed when the user hits Escape
configTiddlerFiltera filter that specifies the tiddler that stores the first item-filter in its first-search-filter field and the second item-filter in its second-search-filter field
firstSearchFilterFieldthe field of the configTiddler where the first search-filter is stored. Defaults to first-search-filter
secondSearchFilterFieldthe field of the configTiddler where the second search-filter is stored. Defaults to second-search-filter
filterMinLengththe minimum length of the user input after which items are filtered