question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Node's component is not getting updated [Vue 2]

See original GitHub issue

Hi @jerosoler, Thanks for making our life easy. 🥇 I am working on Vue 2 and Made the flow as per my requirement. For updating the Node data I am using this.editor.updateNodeDataFromId(id,data) . which is updating the draw flow object. but the issue is that I am unable to update the content in the Node’s component. For example before update:

image after update: - Drawflow object updated but node component is not

image

Thanks in advance 😃

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jerosolercommented, Jun 17, 2022

Hello! Thanks!

updateNodeDataFromId not refresh component.

View: https://github.com/jerosoler/Drawflow/issues/37#issuecomment-717822302

0reactions
shrey7070commented, Jun 20, 2022

Hi @jerosoler, I used the setTimeout function to updateConnecttionNodes and it is working fine

Thanks for your help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why Your Vue Component Isn't Updating (and how to fix it)
1. Check that variables are reactive · 2. Make sure to update Arrays and Objects correctly (only in Vue 2) · 3. Use...
Read more >
Bug?: Component updated even though data not changed
I've searched the forum and Internet but most of the related problems are regarding a component NOT being updated when data changes.
Read more >
Vue child component props not updating - Stack Overflow
Here data is not being used, the prop itself is failing to update in rendering. My VueX functions are: addItemColumn() creates a new...
Read more >
Using Vue.js event emitters to modify component data
In this tutorial, we'll update data values in a parent component from the child component. We'll use the emit construct to handle event...
Read more >
Adding a new todo form: Vue events, methods, and models
To make a method available to the ToDoForm component, we need to add it to the component object, and this is done inside...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found