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

Fix exists operator for boolean question types #60

Open
vesnushka opened this issue Aug 29, 2023 · 2 comments
Open

Fix exists operator for boolean question types #60

vesnushka opened this issue Aug 29, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@vesnushka
Copy link
Member

Exists operator is not applied for boolean question types

item:
  - text: Question 1
    type: boolean
    linkId: question1
  - text: Question 2
    linkId: question2
    enableWhen:
      - answer:
          boolean: false
        operator: exists
        question: question1
@projkov
Copy link
Member

projkov commented Nov 10, 2023

Unfortunately, this problem exists not only for the boolean type of question. It also has problems with integers and decimals.
It's because _.isEmpty is not the correct function to work with it.

Checks if value is an empty object, collection, map, or set.

projkov added a commit that referenced this issue Nov 13, 2023
projkov added a commit that referenced this issue Nov 15, 2023
@projkov
Copy link
Member

projkov commented Nov 21, 2023

The actual information about the issue is stored here: #63

projkov added a commit that referenced this issue Nov 23, 2023
projkov added a commit that referenced this issue Nov 23, 2023
projkov added a commit that referenced this issue Nov 23, 2023
projkov added a commit that referenced this issue Nov 27, 2023
projkov added a commit that referenced this issue Nov 27, 2023
projkov added a commit that referenced this issue Nov 27, 2023
projkov added a commit that referenced this issue Nov 27, 2023
projkov added a commit that referenced this issue Nov 27, 2023
projkov added a commit that referenced this issue Nov 27, 2023
projkov added a commit that referenced this issue Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants