Go Pro Sign Up Login
0 days 0 hrs 0 min 0 sec

Summer Sale

50% off Level Up Pro until you unsubscribe.
Get access to ALL 128 courses on Level Up Tutorials

This is your last chance to get Level Up Pro for $145/year.

or Learn More
Moon Moon

Buy Now and unlock this series

yours forever

Become a Pro and unlock everything

$

24

.99

per month

Easy Forms With AutoForm in Meteor

In this Intermediate Meteor video tutorial, I talk about using FlowRouter and Blaze Layouts to create some basic routes to get us going.Subscribe for more free tutorials https://goo.gl/6ljoFc, more Intermediate Tutorials here: https://goo.gl/11JLL8

Downloads

Become a pro to download code and videos

Comments

Christian

almost 3 years ago [edited]

The SimpleSchema was changed a bit.

First, it now has to be imported into the Recipes.js file. Below is the import line:

  • import SimpleSchema from 'simpl-schema'

The autoform property was removed from SimpleSchema, but it can be re-added. To re-add simply add the following lines at the top of Recipes.js:

  • import SimpleSchema from 'simpl-schema'
  • SimpleSchema.extendOptions(['autoform']);

This re-adds the autoform property and the code works normally again

Want to join the conversation?

Become a Pro member today!