-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Api rule filters bug on multiselect relation fields #2930
Comments
I suspect that the I'll have a look at it sometime later today, but as a workaround, if your field doesn't have more than 1 user yet assigned to it, you can try to change the |
…ple fields has the correct zero-default for already inserted records
Should be fixed in v0.16.10 release. |
…ated multiple fields has the correct zero-default for already inserted records
There seems to be an issue with the multiselect :length operator when using it on relational fields. The below example is not working in my case.
@request.auth.admin = true || users:length = 0 || users.id ?= @request.auth.id
The code works when the user is an admin or is in the list of related fields, but the :length operator is not working when trying to check if the property is empty.
Version 16.9
Thank you for all of the hard work that you do on this project!
The text was updated successfully, but these errors were encountered: