-
Hi, The new Obsidian Properties functionality in 7.7.0 is brilliant, but I'm having trouble with one use case It's not clear from the documentation where using includes is allowed with anything except the tags property, but it doesn't work, giving me an error
I can use
however when the property is of type list, the property can be rendered as
and this doesn't match So, is includes supported in list properties ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @iomadh, Apologies, this slipped through my net. On re-reading it, I don't exactly understand what the question is. I can read it two different ways. If you have solved your problem, could you add a note here saying what you did? And if not, can you please say a bit more about what the problem is? For example, is it:
|
Beta Was this translation helpful? Give feedback.
I solved this by using
filter by function task.file.property('project-state') == 'active'
(note the one less equal's sign - I'm not a JS expert but think this is different to === )
but I also need to be careful only have a single value in the list (multiple values means that it doesn't match even if one of the values is a match)