Suggester not working as intended #782
Unanswered
misakabestgirl
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'm trying to make a suggester input prompt so I tried starting with the example shown in the documentation, but even that doesn't seem to work.
const pickedFile = await params.quickAddApi.suggester( (file) => file.basename, params.app.vault.getMarkdownFiles() );
The suggester appears correctly and it allows me to choose a note, but the output result is simply "[object Object]", regardless of what note I choose.
Is there anything I'm doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions