Properties: Number property allows "e" as input

Steps to reproduce

Open sandbox vault
be in live preview mode
create new note
type “—” to add property
add a property
change to number property
type “e” as a value of that property
Succeed!

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

Y

Expected result

Id expect not to be able to type “e” as i am not able to type any other letter

Actual result

I can type “e” and get no error, however, it does not show up when in source mode and thus does not show up when searching for it (instead it shows the value “null”

Environment

SYSTEM INFO:
Obsidian version: v1.5.12
Installer version: v1.4.16
Operating system: Darwin Kernel Version 23.2.0: Wed Nov 15 21:59:33 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T8112 23.2.0
Login status: logged in
Catalyst license: insider
Insider build toggle: on
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none

This is a feature of web API number type input, aims to support scientific notation. For example if you type in 1e3 in Properties panel, then switch to the source mode, you will see yield 1000.

1 Like