Steps to reproduce
Setup YAML like so:
---
tags: Testing
checkbox: false
---
Alter the checkbox property via the UI
YAML is now altered to:
---
tags:
- Testing
checkbox: true
---
Did you follow the troubleshooting guide? Y
Expected result
It should switch the checkbox value but ultimately leave the tags single item alone. Single line items are valid YAML and arre not considered to go against the standard convention.
Actual result
It moves the single line item tag into a multi line format which is frustrating as all of my daily notes only have a single tag and are being formatted without my knowledge.
Environment
SYSTEM INFO:
Obsidian version: v1.6.5
Installer version: v1.6.3
Operating system: Darwin Kernel Version 24.0.0: Wed Jul 31 21:50:55 PDT 2024; root:xnu-11215.0.199.501.2~1/RELEASE_ARM64_T6020 24.0.0
Login status: not logged in
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Additional information
This issue is solved by using the Linter plugin and it assigns single items to single line, and multiple items to multi line, but Obsidian altering it in the background is causing issues with my process. I must lint after every properties UI change to keep a consistent format and this is not ideal.