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 variable name is rendered instead of its value when the value is empty and the expression contains nothing but this variable #9417

Closed
JaneSjs opened this issue Feb 6, 2025 · 0 comments · Fixed by #9431
Assignees
Labels
user issue An issue or bug reported by users

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Feb 6, 2025

View Demo

The last-name variable is not yet defined. However, the variable name appears in a question title:
Image

In the first question (Hi, {first-name}) nothing is rendered instead of an empty value. Shouldn't we avoid rendering a variable name for the second questioun?

@JaneSjs JaneSjs added the user issue An issue or bug reported by users label Feb 6, 2025
@andrewtelnov andrewtelnov self-assigned this Feb 6, 2025
@RomanTsukanov RomanTsukanov changed the title Do not render a variable name within a title if a variable value is empty A variable name is rendered instead of its value when the value is empty and the expression contains nothing but this variable Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user issue An issue or bug reported by users
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants