Skip to content
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

Conditions not working as expected for m2o fields #10952

Closed
3 tasks done
MarkoMestrovicShape opened this issue Jan 10, 2022 · 1 comment
Closed
3 tasks done

Conditions not working as expected for m2o fields #10952

MarkoMestrovicShape opened this issue Jan 10, 2022 · 1 comment

Comments

@MarkoMestrovicShape
Copy link

Preflight Checklist

Describe the Bug

Setting condition rule with a relational field, such as:
collectionO->key equals 3 doesn't work consistently.

To Reproduce

Create two collections. Give them m2o relationship. In the M collection choose one field and give it condition that includes checking value of O field.

For example:

collection_M->key equals KEY_VALUE

Checkbox the Hidden on Detail option.

The field never becomes hidden no matter which O field is selected.

Errors Shown

None

What version of Directus are you using?

v9.4.3

What version of Node.js are you using?

v14.5.0

What database are you using?

Postgres 13

What browser are you using?

Chrome

What operating system are you using?

Windows

How are you deploying Directus?

Docker

@Oreilles
Copy link
Contributor

Closing as duplicate of #8228

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants