I could make it work in a pretty straightforward way by sending the selected role id to the backend on dropdown value change. I’d just really rather not because that creates a much less seamless user experience.
Truthfully, I think there’s gotta be a way for the WeWeb folks to allow us to filter by number contained in array. Hopefully I am right about that and they are able to make it happen!
If you land on the Manage Users page as intended, you’ll see that I am attempting to filter the collection on that page using the Primary Role dropdown. Each user may have multiple roles, with the role ids in an array called justroles. The value of the dropdown is role id.
Ok, I’m really struggling with this. Not sure if it’s a bug on our side or if I’m using the wrong formulas. I’ll record a loom and share with the team.
Yes, it is indeed a bug – for some reason the array is understood as an object so doesn’t respond as expected to the no-code formulas.
We’ve created the ticket. The dev team is scheduled to look into it this afternoon but we don’t know if it’ll be a straightforward fix or if it might take a bit longer.