metadatamenu icon indicating copy to clipboard operation
metadatamenu copied to clipboard

Boolean switch adds double-quotes which conflicts with Obsidian's Properties.

Open benjaminwelch opened this issue 11 months ago • 2 comments

Obsidian version: 1.5.8 MM version: 0.8.5

When using boolean types, MM adds quotation marks to "true" and "false" like so:

exercise: "true"

As opposed to how Obsidian Properties does this:

exercise: true

I'm not sure if I'm missing something or if this is how it should behave but it causes a warning in the Obsidian Properties panel and I would love to avoid that where possible and MM doesn't see any issue when the boolean values do not have quotations.

Here is a video of the issue:

https://github.com/mdelobelle/metadatamenu/assets/610197/fbbf220f-f434-445b-8ac6-6543067dd461

benjaminwelch avatar Mar 13 '24 13:03 benjaminwelch

Good catch, this will be fixed in the next release

mdelobelle avatar Mar 14 '24 12:03 mdelobelle

fixed in 0.8.6

mdelobelle avatar Mar 23 '24 13:03 mdelobelle