Ok, I have a set of checkboxes for each row in a grid. I’m trying to get my checkbox to update the MongoDB state with each click (following the tutorial online), but when I console log my
this._id i get undefined as the value, and thus it’s not updating in the db.
Am I missing something to get the _id of the checkbox that I’m checking.
console.log("ID: " + this._id + " | checked state sent: " + !this.checked); Meteor.call('Selected.update', this._id, !this.checked); }``` Additionally, the `!this.checked` gives true every time. As always, I appreciate the help.