vue-good-table icon indicating copy to clipboard operation
vue-good-table copied to clipboard

Editable Component Value Propagation Issue

Open yashnarkhedkar opened this issue 1 year ago • 0 comments

  • [x] Bug

Specs

Version: 2.21.0 Browser: Chrome

Expected Behavior

I expected that updating the value of one editable component would not affect other components.

Actual Behavior

When I update the value of one editable component and use an event listener to track changes, the updated hook will call of all other components. This unintended behavior modifies rows.field.value for all components.

Steps to Reproduce the Problem

  1. Create a table with editable components (e.g., input fields).
  2. Add an event listener to track changes in these components.
  3. Update the value of one component.
  4. The updated hook will call of all other components.

yashnarkhedkar avatar Oct 31 '23 04:10 yashnarkhedkar