I don't think this feature exists yet, and I'm still relatively new to 
TiddlyWiki.

I want to create a TiddlyWiki tag (or sets of tags) that does the following:

1. There is a search bar
2. It has autocomplete/a typeahead
3. It looks in a JSON tiddler for options on autocomplete
4. Once you click on a suggestion, it is added to somewhere. This could be: 
a tiddler with data, the tiddler where the search bar is in (either 
directly or via a field) or anything else.

What I know:
A. There is an edit text widget, so step 1 is done (
https://tiddlywiki.com/static/EditTextWidget.html).
B. I don't know how you can add an autocomplete function to such a widget. 
So I have no clue about step 2.
C. I also don't know how to select an autocomplete source. So I have no 
clue about step 3.
D. Since the autocomplete does not exist, I don't know how to create a 
suggestion list that once clicked on, it'll be added. However, I do know 
that similar solutions have been implemented for the select widget (
https://tiddlywiki.com/static/SelectWidget.html).

Does anyone have any idea on what concepts I should learn and what approach 
I should take?

Should I take a JS approach and create a macro? And if so, should I create 
a new tag, or extend the edit text widget? 

Or should I define a function within a Tiddler comprised of combination of 
TiddlyWiki tags?

What do you think would be a feasible design to implement this, and what 
concepts are needed?

Goal: I want to create a JSON file with all kinds of brand specific food 
that I eat, and then I want to store that in my daily journal. Since I want 
to do data analysis on it later, I don't want to make typo's.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1e17abb7-c2a2-4e96-8a00-07a5be751f90%40googlegroups.com.

Reply via email to