Tell me, is it possible to make a listing list in the Tiddlywiki field

25 views
Skip to first unread message

vicd...@gmail.com

unread,
Jun 19, 2022, 3:31:11 AM6/19/22
to TiddlyWiki
hello! Tell me, is it possible to make a listing list in the Tiddlywiki field, for example, as in searching for Google?
nw_KGue03l7NX.png 

Eric Shulman

unread,
Jun 19, 2022, 4:03:19 AM6/19/22
to TiddlyWiki
From your drawing, it seems that you want a text input field that also displays a progressively filtered dropdown list of items that have at least a partial match for the current text input.  If this is the case, then my TiddlyTools `edit-list` macro (https://tiddlytools.com/edit-list.html) can do this.  Something like:
```
<<edit-list tiddler:"$:/temp/myinput" filter:"...some filter here..." find:and focusPopup:yes listwidth:fit>>
```
Where:
* `$:/temp/myinput` is a tiddler to hold your text input
* "...some filter here..." is TiddlyWiki filter syntax for specifying the desired list of items to match with
* `find:and` matches list items that have all the keywords entered into the text input field
* `focusPopup:yes` shows the dropdown list when the text input has focus
* `listwidth:fit` automatically resizes the dropdown list to fit the width of the current list items

enjoy,
-e
Reply all
Reply to author
Forward
0 new messages