Minus and e not saved in number properties

Steps to reproduce

  1. open file
  2. add property with type “number”
  3. type any number and a dash (e.g. “0-”)
  4. no complaints from obsidian, shows up, but when navigating away and back, it disappears, not saved apparently

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

Expected result

Actual result

no warning :frowning:

Environment

SYSTEM INFO:
Obsidian version: v1.7.7
Installer version: v1.5.11
Operating system: Windows 10 Home 10.0.19045
Login status: logged in
Language: en
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 3
Plugins enabled: 3
1: Colored Text v1.0.0
2: Sheets Extended v1.2.10
3: Emoji Toolbar v0.4.1


Additional information

minus and e are valid characters for a number if they are in the correct position.
I agree with you that that they UI should not make it looks like they are accepted when they are not.