Closed tettoffensive closed 5 years ago
It is really strange. Could you please make a codepen example to debug more? But in your console message, I can see the 'id' field.
I've made a codepen example for you, and I can access id from the selected row. And you don't really need to have the id column in the table.
https://codepen.io/rubanraj54/pen/qvQPRe
Cheers, Ruby.
Closing this issue since there is no activity for more than 10 days.
For background, I am using
"vue-bootstrap4-table": "^1.1.2"
to display elements in my firebase firestore database. I am using a package called"vuefire": "^2.0.0-alpha.20"
.This gives me an array of objects which have 3 properties
image_url
,subtitle
,title
, along with anid
.When I do my own
v-for
loop I am able to access all the properties as well as theid
. But for some reason the id is missing from the payload in my@on-select-row
handler. In addition even though I added a column for id. Those rows are blank.Looking at the console, I'm wondering if it's because there are no "getters" for id? Do you think this is why? Or maybe you have a better idea?
From the chrome console: