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

[bug]: jsonConfig: translation label not working if data is used as condition #2840

Closed
1 task done
Scrounger opened this issue Nov 29, 2024 · 1 comment
Closed
1 task done

Comments

@Scrounger
Copy link

No existing issues.

  • There is no existing issue for my problem.

Describe the bug

Using a condition in the label of a jsonConfig element, then translation not working

To Reproduce

create an element with e.g. such a label:
"title": "${data.clientIsWhiteList ? \"Choose which client / guest should be included\" : \"Choose which client / guest should be excluded\"}"

Expected behavior

Translation should work if using conditions.

Screenshots & Logfiles

translation

Adapter version

7.4.2

js-controller version

6.0.11

Node version

20

Operating system

Ubuntu 22.04. LTS

Additional context

No response

@Scrounger
Copy link
Author

works, thank you!

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

No branches or pull requests

2 participants