Show an error message if there are any spaces in the global filter #3237
Labels
scope: global filter
Anything to do with the global filter
scope: settings
Issues referring to the Tasks Settings panel in Obsidian
type: enhancement
New feature or request
🔖 Feature description
When adding a tag to the global filter, an error message should appear if there are any empty spaces in the field.
✔️ Solution
When adding a tag to the global filter field that includes one or more empty spaces, a modal popup should appear to notify the user about the error.
❓ Alternatives
No response
📝 Additional Context
I had problems with task queries because I did not realize that I entered the tag for the global filter with a space before and after the tag:
As a result, task queries would only recognize the global filter if it wasn't the first word in a task (ie missing the space before) or the last word in a task (ie missing the space after).
The text was updated successfully, but these errors were encountered: