chhoumann / quickadd

QuickAdd for Obsidian
https://quickadd.obsidian.guide
MIT License
1.5k stars 136 forks source link

[BUG] Capture fails when using dynamic filename that includes numbers #719

Closed jasin closed 1 month ago

jasin commented 1 month ago

Describe the bug Capture fails when using dynamic filename that includes numbers

To Reproduce

  1. Create capture
  2. Add a dynamic filename IE. 00-Projects/{{VALUE:Project Name}}.md
  3. Run capture and when prompted enter: 10000 Project X
  4. No note is created with an error stating that the template (in the capture) can't be applied to a non-existing 00-Projects/10000 Projet X

Expected behavior A new Note should be created with the filename the same as the returned input prompt name

Desktop (please complete the following information):

Additional context If I remove the leading 10000 from the string in the input box for Project Name the note is created and the template is applied correctly.

jasin commented 1 month ago

upon further review this seems to be an issue with obsidian itself.