YAML Infinity value displays as "no value" in Properties view

Steps to reproduce

In any note, go into source mode and create a property with the value .inf (the representation of infinity in YAML according to the YAML reference card)


field: .inf

Did you follow the troubleshooting guide? [Y/N]


Expected result

Properties view should show value as infinity, similar to how Metadata view did in previous version of Obsidian (and how the mobile app still works).

Actual result

Properties view correctly detects that the field has a numerical type, but displays the value as “No value”.

Clicking into and out of the “No value” box clears the property value.


	Obsidian version: v1.4.5
	Installer version: v1.4.5
	Operating system: Darwin Kernel Version 22.6.0: Wed Jul  5 22:21:56 PDT 2023; root:xnu-8796.141.3~6/RELEASE_X86_64 22.6.0
	Login status: not logged in
	Insider build toggle: off
	Live preview: on
	Legacy editor: off
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on


Additional information

Source mode showing YAML:

Properties view showing “no value”:
Screenshot 2023-09-01 at 1.52.09 PM

Mobile app behavior showing correct display of infinity value:


ok, thanks!

I can’t replicate this issue. Is it still happening for anyone or has it been fixed?

Correction: this issue is still present, but it can be masked by switching the field to text and back.