Open jtvilm opened 6 months ago
This is a very good suggestion, and it is not that hard to add.
On Sat, Feb 24, 2024 at 10:53 PM Jan Kallenbach @.***> wrote:
Assigned #231 https://github.com/danielo515/obsidian-modal-form/issues/231 to @danielo515 https://github.com/danielo515.
— Reply to this email directly, view it on GitHub https://github.com/danielo515/obsidian-modal-form/issues/231#event-11911688657, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARKJWNPMVRSWPDEERA6M4TYVJOOPAVCNFSM6AAAAABDYJ27X2VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRHEYTCNRYHA3DKNY . You are receiving this because you were assigned.Message ID: @.*** com>
Any update on this? Would you be open to having a PR for this feature?
This one should be an easy one, so it is a good first issue. I'm open to review a PR for this.
On Wed, Jul 24, 2024 at 10:21 AM Ramiro Rivera @.***> wrote:
Any update on this? Would you be open to having a PR for this feature?
— Reply to this email directly, view it on GitHub https://github.com/danielo515/obsidian-modal-form/issues/231#issuecomment-2247199647, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARKJWMQGAKOBM334Z2KPFLZN5P2BAVCNFSM6AAAAABDYJ27X2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBXGE4TSNRUG4 . You are receiving this because you were mentioned.Message ID: @.***>
My Usecase
I do some simple project/task management in Obsidian.
For projects I create tasks and for tasks I create timeboxes, which are all simple .md files storing data in their frontmatter. Tasks reference their project and timeboxes their task in simple string properties. All .md files are stored in separate folders; there are just these three folders - projects, tasks, and timeboxes - no subfolders.
When I create a timebox using a form I select the associated task using a Dataview query in a field of type Dataview. However, because all tasks are stored in one folder, the query lists tasks that belong to all projects. What I would like to do is to add a another form field in which I select the project, then use that form field value in the original query to filter only for those tasks belonging to that project.
Describe the solution you'd like
Make a variable named
form
accessible in dv queries for field types Dataview and Multiselect/Dataview. With theform
variable I could access other field values via the syntaxform.fieldName
so that query results could be filtered, mapped, sorted, etc. using those values.This is similar to the field type Document block, in which I can use the
form
variable to retrieve form field values viaform.fieldName
.