Skip to content
This repository was archived by the owner on Jul 29, 2023. It is now read-only.

enableBehavior not added to JSON if set to "any" #7

Open
1 task done
vishnuravi opened this issue Dec 12, 2022 · 0 comments
Open
1 task done

enableBehavior not added to JSON if set to "any" #7

vishnuravi opened this issue Dec 12, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@vishnuravi
Copy link
Member

Description

If a question's enable when condition behavior is set to "At least one condition must be fulfilled", the enableBehavior property is not added to the resulting JSON. However, if it is set to "All conditions must be fulfilled" this property is added to the JSON.

Reproduction

  1. Create a new survey.
  2. Add three questions.
  3. Create enable when rules on the third question dependent on answers to both of the prior questions.
  4. Set the behavior to "At least one condition must be fulfilled".
  5. Check the resulting JSON for the "enableBehavior" property, which should appear and be set to "any".

Expected behavior

The enableBehavior property should appear and be set to "any".

Additional context

cc: @PSchmiedmayer

Code of Conduct

  • I agree to follow this project's Code of Conduct and Contributing Guidelines
@vishnuravi vishnuravi added the bug Something isn't working label Dec 12, 2022
@vishnuravi vishnuravi self-assigned this Dec 12, 2022
@vishnuravi vishnuravi changed the title 🐛 Bug report: Remove this title with a descriptive title. enableBehavior not added to JSON if set to "any" Dec 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant