Steps to reproduce
- Add some front matter:
--- custom: - ---
- Make sure the property type of
custom:
has been set to List (multitext) via the properties.
Did you follow the troubleshooting guide? Y
Expected result
Like for the default keys tags:
and aliases:
, when only -
is present (with or without whitespace following), show Empty for custom:
, not [null]
.
Actual result
[null]
.
Environment
SYSTEM INFO:
Obsidian version: v1.4.14
Installer version: v1.4.14
Operating system: Windows 10 Pro 10.0.22621
Login status: not logged in
Insider build toggle: off
Live preview: off
Legacy editor: off
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Additional information
[null]
also displays in the properties for any YAML key if given the value “-”, which may or may not be expected, e.g. custom2: -
. When -
is the start of an empty item, i.e on a new line, it should be interpreted as Empty I think.
Thanks.