I can’t get the Array querry loop filters working with component properties. In my case, I have a custom php function that returns an array containing a name, a type, and an array of post IDs.
I use the Array filters to keep only {query_array @key:’type’} == XXX, but when I connect the XXX to a Text property, or a Select property, the query stops working.
The fix is to simply make a query loop property and write the query filter by hand, but its a bit annoying having to repeat the same task for each type, when a simple select / text property would have sufficed.
Thanks for all the new features, been loving them.
PS: When I say the query ‘stops working’, I mean it doesn’t return anything anymore. Comment still present in the DOM. I would have loved using a :plain filter for the property, like for dynamic data, but alas thats not a thing afaik
As you can see, it works very well on the front end.
HOWEVER:
If I make the whole thing a component, and connect the ‘Value 2’ field of the Results filter to a Text property (or a Select property), it doesn’t work!