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

Allow to use copy trigger without expression #7030

Closed
andrewtelnov opened this issue Sep 27, 2023 · 0 comments
Closed

Allow to use copy trigger without expression #7030

andrewtelnov opened this issue Sep 27, 2023 · 0 comments
Assignees
Labels
Milestone

Comments

@andrewtelnov
Copy link
Member

The current JSON doesn't work:

{
    elements: [
      { type: "text", name: "q1" },
      { type: "text", name: "q2" },
   ],
    "triggers": [
      {
        "type": "copyvalue",
        "fromName": "q1",
        "setToName": "q2"
      }
    ],
  }

Our triggers doesn't work without expression. The current JSON on changing "q1" value generates exception.
We can support this case, if expression is empty then check if "q1" (fromName") is changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant