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

allOf condition not being properly evaluated #3899

Closed
4 tasks done
A11oW opened this issue Oct 10, 2023 · 1 comment
Closed
4 tasks done

allOf condition not being properly evaluated #3899

A11oW opened this issue Oct 10, 2023 · 1 comment
Labels
bug needs triage Initial label given, to be assigned correct labels and assigned

Comments

@A11oW
Copy link

A11oW commented Oct 10, 2023

Prerequisites

What theme are you using?

core

Version

5.x

Current Behavior

When the form is first displayed and the "animal" field is not selected, the "food" field is still displayed.

Expected Behavior

When the form is first displayed and the "animal" field is not selected, the "food" field is not displayed.

Steps To Reproduce

No response

Environment

- OS:
- Node:
- npm:

Anything else?

Playground link

@A11oW A11oW added bug needs triage Initial label given, to be assigned correct labels and assigned labels Oct 10, 2023
@A11oW
Copy link
Author

A11oW commented Oct 11, 2023

I found answer. It was necessary to add a “required” condition to the “if” for the “animal” field.

Playground link

@A11oW A11oW closed this as completed Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs triage Initial label given, to be assigned correct labels and assigned
Projects
None yet
Development

No branches or pull requests

1 participant