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 am trying to group autoform fields into individual tabs but the data on an 'update' form is all blank.
I am just using the basic tabs example. Here is what the autoform template looks like...
Not sure if it's related but I am using iron router for the update page like this...
Router.route('/recipes/update/:_id', function () {
var item = Recipes.findOne({_id: this.params._id});
this.render('updateRecipe', {data: item});
}, {
name: 'recipe.show'
});
So just to clarify. If I don't use the tabs in the template, all the data from the document shows up as it should. If I use the tabs, all the fields are blank.
Thanks
The text was updated successfully, but these errors were encountered:
I think this is more a problem with autoform. It probably expects the form context to be in the immediate parent to the form fields and doesn't iterate up contexts until it finds the form. I'm not totally sure, but I did write such functionality into templates:forms so this is the first thing that comes to mind.
I am trying to group autoform fields into individual tabs but the data on an 'update' form is all blank.
I am just using the basic tabs example. Here is what the autoform template looks like...
Not sure if it's related but I am using iron router for the update page like this...
So just to clarify. If I don't use the tabs in the template, all the data from the document shows up as it should. If I use the tabs, all the fields are blank.
Thanks
The text was updated successfully, but these errors were encountered: