danielo515 / obsidian-modal-form

Define forms for filling data that you will be able to open from anywhere you can run JS
https://danielorodriguez.com/obsidian-modal-form/
MIT License
175 stars 13 forks source link

[BUG] Deleting the value of a number field doesn't work right #274

Closed anonhostpi closed 3 weeks ago

anonhostpi commented 1 month ago

Deleting the value of a number field causes it to return the undeleted value

To Reproduce Steps to reproduce the bug:

  1. Enter a value into a number field
  2. Highlight the entire value
  3. Delete it
  4. Submit modal

Expected behavior Value should be undefined

Actual behavior: Value is the undeleted number

danielo515 commented 3 weeks ago

This should have been fixed in 1.47.0