Skip to content
This repository was archived by the owner on Jul 29, 2023. It is now read-only.
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

Description

@vishnuravi

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions