Text completion suggestions in inputPrompt API.
#779
Unanswered
UtkarshVerma
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I write my recipes in Obsidian and wrote a script for QuickAdd using the JS API for adding an ingredient to a recipe to the frontmatter.
My input is always of the form
<amount> <unit> <ingredient>(e.g. `1 small potato).I was wondering if there was a way to have support for text completion in the
inputPrompt(). For example, the moment I type space after the number, I get a list of units (small, medium, big) as text completion. The same for the ingredient too.Beta Was this translation helpful? Give feedback.
All reactions