Meteor Planifica/meteor-wizard -
the documentation of planifica/meteor-wizard tells simpleschema should created part of template. have simple-schema's part of collection , keep way. knows if can done planifica/meteor-wizard?
it should not matter define it. in looking @ meteor-wizard docs @ least need reference it.
so instead of helper defines schema, return reference it. if use documentation example. instead of:
template.setupstepone.schema = function() { return new simpleschema({ ... }); }
you use:
template.setupstepone.schema = collectionname.schema;
just replace collectionname.schema wherever storing schema.
Comments
Post a Comment