What I’m trying to do
Hi,
refering to this solution:
I think it would be a whole lot easier to trigger a Dataview query from within the templater script, and then use the output of that to populate your suggester list. The way you script is setup currently, you’re reading through the entire vault searching for potential candidates. If you used a query you would only scan through the metadata, and you’ll get the added benefit of getting all fields (frontmatter or inline).
Here is a mockup which should get you started. You need to change the query …
how could I achieve to filter the shown values in the suggester list by typing the first letter(s) of the wanted value?
(With the solution from @holroy you could ‘only’ sroll to the requested value…)
holroy
December 28, 2024, 4:18pm
2
What do you mean? When using tp.system.suggester()
it does a fuzzy search, so if you type multiple characters it’ll show entries having all of those characters. Isn’t that what you want too?
the problem has already been resolved in the meantime.
I first had to see what it was all about… It’s been a while.
Thanks anyway.
1 Like