You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using aldeed:autoform to validade and update my collection.
I have Reactive Table displaying all the documents of my collection. When I click on a row, I have iron:router to set the template data context with the document:
The problem is that if I update the second row, the document gets updated in Mongo but nothing happens in ReactiveTable, but If I delete or edit the first one, it gets updated.
My table.js and html
Hi @xMaarf, I think your problem might be that you're using Adverts.find().fetch() in your table function. This returns an array rather than the Meteor collection object so the table won't be able to get updates. I'm not sure why the first row works, but try using just Adverts instead.
I'm using aldeed:autoform to validade and update my collection.
I have Reactive Table displaying all the documents of my collection. When I click on a row, I have iron:router to set the template data context with the document:
that sends to a template with autoform where I update the data in my collection.
The problem is that if I update the second row, the document gets updated in Mongo but nothing happens in ReactiveTable, but If I delete or edit the first one, it gets updated.
My table.js and html
The text was updated successfully, but these errors were encountered: