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

Expression question displays defaultValue instead of an empty string #7343

Closed
andrewtelnov opened this issue Nov 13, 2023 · 0 comments
Closed
Assignees
Labels
Milestone

Comments

@andrewtelnov
Copy link
Member

andrewtelnov commented Nov 13, 2023

The following JSON doesn't work correctly:

{
    elements: [
      { type: "expression", name: "q1", setValueExpression: "iif({q2} = 1, 'b', ''", defaultValue: "a" },
      { type: "text", name: "q2" }
    ]
  }
@andrewtelnov andrewtelnov self-assigned this Nov 13, 2023
@RomanTsukanov RomanTsukanov changed the title Expression question display defaultValue instead of empty string Expression question displays defaultValue instead of an empty string Nov 14, 2023
@OlgaLarina OlgaLarina added this to the v1.9.117 milestone Nov 14, 2023
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

2 participants