Comments (6)
No, it's good that you did that - I can fix it so it doesn't error on empty fields before I release.
from obsidian-dataview.
If no errors, then I think the issue is just that the tags
YAML option is somewhat open-ended. The obsidian standard is that tags
should be a YAML list - so your tags should be
tags: ["foo"]
or
tags:
- foo
from obsidian-dataview.
Oh, whoops, I just saw you added no console errors. I think the issue is just tags
. How do you normally use the tags
YAML field?
from obsidian-dataview.
Okay, I switched to using the multiline syntax for tags
and now I see the following error in the console:
Uncaught (in promise) TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at populateContextFrontmatter (eval at <anonymous> (app.js:1), <anonymous>:9755:39)
at populateContextFrontmatter (eval at <anonymous> (app.js:1), <anonymous>:9766:17)
at populateContextFromMeta (eval at <anonymous> (app.js:1), <anonymous>:9786:9)
at _loop_1 (eval at <anonymous> (app.js:1), <anonymous>:9803:23)
at execute (eval at <anonymous> (app.js:1), <anonymous>:9859:27)
at DataviewTableRenderer.onload (eval at <anonymous> (app.js:1), <anonymous>:10102:22)
at DataviewTableRenderer.e.load (app.js:1)
at t.e.addChild (app.js:1)
at Object.addChild (app.js:1)
How do you normally use the tags YAML field?
I normally use the multiline syntax, just messed up the test file 🙈
from obsidian-dataview.
Oh, whoops. So I removed the empty "aliases" key and now it's working!
I normally keep an empty aliases
and tags
key in my file to add them easily, but makes sense that would mess things up.
from obsidian-dataview.
Will close this since I have things working now. This plugin is seriously awesome, and I love how ambitious the roadmap looks!
from obsidian-dataview.
Related Issues (20)
- Commenting in DQL
- Highlighting the dataview syntax
- Heading-Hierarchy to organize List Items and Tasks
- dataview doc pages not rendering HOT 1
- Dynamically Calculated Dataview Properties Are Set As Incorrect Types
- Bug report: Imidiate Crash after enabling Dataview HOT 1
- Bug report: DQL in frontmatter doesn't work
- Error on open with inline dvjs in template
- dv.io.normalize ignores origin-file and doesn't append file extension
- Link generated always in [](app://obsidian.md...) format - various attempts to obtain a version in [[]]
- Toggle Inline Code Rendering Off and Inline Queries/Properties On Separately HOT 1
- Dataview doesn't show tasks which start with [number] + [point]
- Minor Bug report - Dataview inline query not displaying correctly in table and refresh not behaving normally
- CTRL-V for pasting
- Using dv.tryQueryMarkdown() got raw Markdown content, but use dv.paragraph() can't re-render correct in page
- `row` cannot be used as lambda variable name in DQL
- No Results When Vault Contains Only Directories Bug report HOT 2
- Atomic updates of the whole Dataview JS block HOT 2
- It would be better if the setting interface could be switched between multiple languages. I hope this plugin settings page can be selected in Chinese.
- Counter for all pages for query
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-dataview.