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

A "Complete" trigger doesn't work when it is based in a Checkboxes question with valuePropertyName set #8434

Closed
andrewtelnov opened this issue Jun 18, 2024 · 0 comments · Fixed by #8435
Assignees
Labels
Milestone

Comments

@andrewtelnov
Copy link
Member

Complete trigger doesn't work for this JSON:

{
    "pages": [
      {
        "name": "page1",
        "elements": [
          {
            "type": "checkbox",
            "name": "models",
            "choices": [1, 2, 3],
            "showNoneItem": true,
            "valuePropertyName": "model_id"
          }
        ]
      },
      {
        "name": "page2",
        "elements": [
          {
            "type": "text",
            "name": "question1"
          }
        ]
      }
    ],
    "triggers": [
      {
        "type": "complete",
        "expression": "{models-unwrapped} = ['none']"
      }
    ]
  }
@andrewtelnov andrewtelnov self-assigned this Jun 18, 2024
andrewtelnov added a commit that referenced this issue Jun 18, 2024
@RomanTsukanov RomanTsukanov changed the title Trigger doesn't work correctly when expression is used checkbox with 'valuePropertyName' set A "Complete" trigger doesn't work when it is based in a Checkboxes question with valuePropertyName set Jun 18, 2024
@OlgaLarina OlgaLarina added this to the v1.11.3 milestone Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants