-
|
I tried this code in a dataviewjs block: const quickAddApi = this.app.plugins.plugins.quickadd.api;
const values = await quickAddApi.fieldSuggestions.getFieldValues("Id");
console.log(values);where I have I then tried with having the and now this time I get an array with the value 1000. Is that the intended behavior, only using properties and not fields? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
|
Damn, I forgot to add the options. Still, getting an empty array. const quickAddApi = this.app.plugins.plugins.quickadd.api;
const values = await quickAddApi.fieldSuggestions.getFieldValues("Id",
{
includeInline: true
});
console.log(values); |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
@chhoumann Should I convert this to an issue? |
Beta Was this translation helpful? Give feedback.
-
|
Following up here since this thread never got its ending: the option you wished for shipped via your issue #998 (QuickAdd 2.12.0). Code blocks are still excluded by default - that stays as a safety default - but you can now opt specific fence types in by name: const values = await quickAddApi.fieldSuggestions.getFieldValues("Id", {
includeInline: true,
includeInlineCodeBlocks: ["ad-note"],
});That picks up your Thanks for filing the issue - closing this as resolved. |
Beta Was this translation helpful? Give feedback.

Following up here since this thread never got its ending: the option you wished for shipped via your issue #998 (QuickAdd 2.12.0). Code blocks are still excluded by default - that stays as a safety default - but you can now opt specific fence types in by name:
That picks up your
Id::field inside thead-noteadmonition. Docs (your exact case is the example there): https://quickadd.obsidian.guide/docs/QuickAddAPI#field-suggestions-moduleThanks for filing the issue - closing this as resolved.