[BUG] Form dialog opening twice, lost data, on latest Obsidian update (Mac 1.11.5)
bug
<!-- Use this template just as a guidance, it's not strict -->
**Describe the bug**
When invoking the modal form in a template, the form pops up twice, eating the input from the first form. If you cancel on the second, the data is eaten and returns {}. The only thing that works is to skip the first prompt and use the second. I ended up removing the modal form code from my templates.
**To Reproduce**
Steps to reproduce the bug:
Every template I have that uses modal forms is now throwing the form twice.
**Expected behavior**
<!-- A clear and concise description of what you expected to happen. -->
Only a single form popup should occur.
**Additional context**
关闭于 2026-01-21 2 条评论