Cannot add dependencies via API's createTaskLineModal(): "Blocking and blocked by fields are disabled when vault tasks is empty" #2993
Labels
scope: edit task
The Create or edit task modal/dialog
scope: scripting
Issues to do with custom filters, custom sorting and similar
scope: task dependencies
Anything to do with making tasks aware of other tasks
type: bug
Something isn't working
Please check that this issue hasn't been reported before.
Expected Behavior
I’m using the Tasks Plugin together with the QuickAdd Plugin to create tasks using a shortcut. When I use this shortcut, it should open the task creation interface, allowing me to make changes just like I normally would.
Current behaviour
When I use the shortcut, the fields for "Before This" and "After This" are replaced with the message "Blocking and blocked by fields are disabled when vault tasks is empty," and I can’t modify the dependencies in the creation menu. However, it works fine if I create the task first and then edit it afterward.
Steps to reproduce
Which Operating Systems are you using?
Obsidian Version
1.6.7
Tasks Plugin Version
7.6.1
Checks
Possible solution
No response
The text was updated successfully, but these errors were encountered: