V-datatable checkbox selection doesn't work well for computed vuex state

Hi Everyone it is my first topic nice to meet all users in this forum

I’m developing a project by using vuetify component framework.

I can fill v-datatable with computed items and headers without problem.These are coming from computed states.

My problem is when i try to use checkboxes for selection.I try to select just one column but all columns are getting selected.
In vueDevtool i can see its just select one row.But in view it is not.

Thanks for helps

Hi

Without seeing any code I can just do a little bit of guessing. But this behaviour. Maninpulating one thing but more things get change is sometimes because of using the same object in several places. It looks like different objects but they are the same. Like this maybe forced example

const empty = {name: '', phone: ''}
const list = [empty, empty, empty]
console.log(list)

Outputs:

[
  { name: '', phone: '' },
  { name: '', phone: '' },
  { name: '', phone: '' }
]

Looks fine but if we change the name of the first element

list[0].name = "Bob"
console.log(list)

will the output be like below because all elements in the array referers to the same object:

[
  { name: 'Bob', phone: '' },
  { name: 'Bob', phone: '' },
  { name: 'Bob', phone: '' }
]