Do not show checkbox if there is no text after it / only whitespace. #793
Replies: 7 comments 2 replies
-
Interesting. @JoinGitHub1 What does the dataview plugin do? Does it include the empty task in its list of tasks? |
Beta Was this translation helpful? Give feedback.
-
Here is how GitHub renders a task with a trailing space:
Rendered like this, as of 2022-06-12, that is, displayed, but not drawn as a task: And one without a trailing space:
Rendered like this, as of 2022-06-12, that is, displayed, but not drawn as a task: This does suggest to me that the way the Tasks plugin recognises tasks could be adjusted to require at least one non-space character in the description. I'd still like to know what dataview does in this situation though. |
Beta Was this translation helpful? Give feedback.
-
Thanks for being interested in my post. Dataview behaves the same way. Please see bottom of screenshots. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for checking that. I do agree with your question, but as the behaviour is currently the same as dataview, I'm unlikely to be able to make this a priority for some time unfortunately. A pull request would be welcome though. |
Beta Was this translation helpful? Give feedback.
-
I don't know about this use case, but it WOULD be very useful to be able to switch off the checkboxes in query results for lots of other reasons |
Beta Was this translation helpful? Give feedback.
-
It would be useful to be able to switch off checkboxes in query results for many other reasons, not task specific, but for all output. |
Beta Was this translation helpful? Give feedback.
-
Do you think I it would help to ask the same question in Dataview forum – or maybe even Obsidian developers? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a Daily note template which includes - [ ] as placeholder and for quick adding new tasks. If I have no tasks this day, a checkbox with no text to it will appear in the tasks lists in the next daily note. I am hoping to hide these checkboxes which is "empty".
Hide this (with trailing space)
- [ ]
Beta Was this translation helpful? Give feedback.
All reactions