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

Update child node with the data picker #5690

Closed
bkrmendy opened this issue May 16, 2024 · 0 comments · Fixed by #5695
Closed

Update child node with the data picker #5690

bkrmendy opened this issue May 16, 2024 · 0 comments · Fixed by #5695
Assignees

Comments

@bkrmendy
Copy link
Contributor

bkrmendy commented May 16, 2024

Consider the following element:

<div>Hello, {name}!<div>

We already show a cartouche in the navigator for {name}, but when a new variable is picked, instead of only replacing name, we remove all the child elements and replace them with the newly picked variable, leading to something like

<div>{updated.data.name}<div>

(notice that Hello, and ! are gone).

The expected outcome of the update is the following:

<div>Hello, {updated.data.name}!<div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant