A Meteor package that extends Mongo.Collection to provide support for specifying a schema and then validating against that schema when inserting and updating.
I have been using collection2 in my meteor projects since Meteor 1.0, but I have never taken advantage of reactive validation - mostly because I am not sure how to use it.
I presume the idea of reactive validation provides a way of automatically notifying a user of invalid fields in a form, keeping track of entered fields that don't match the schema, and revalidating them as they are fixed, but I'm not sure how I would set that up.
This there a code sample of using reactive validation I can peruse?
I have been using collection2 in my meteor projects since Meteor 1.0, but I have never taken advantage of reactive validation - mostly because I am not sure how to use it.
I presume the idea of reactive validation provides a way of automatically notifying a user of invalid fields in a form, keeping track of entered fields that don't match the schema, and revalidating them as they are fixed, but I'm not sure how I would set that up.
This there a code sample of using reactive validation I can peruse?
Thx