Hi community, I am writing a JS script and would like to take user input in the form of a prompt and/or a suggester dialogue box. I cannot seem to find the way to call those. How is that achieved? Is there documentation that i may have missed that would point me towards the correct syntax? I know that scripts within Templater allow for it (tp.system.prompt) but i am not sure about how to call this within a dataviewjs block for instance. Many thanks in advance
tp.system.prompt
I know this is a couple weeks old, but maybe it will help somebody in the future.
It works for me like this:
On creation:
The ‘await’ keyword means it is to wait until the user has finished inputting.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.