Hi, I’m trying to get all the error messages. But when I run the following code :
Committees.insert({name, shortName, seats, description, ctp1, ctp2, pdtp1, pdtp2, pdtp3 }, (error, result) => {
console.log(error);
});
It will only return the first validation error. How can I get all the validations in something like an array so I can display them in the site? (The reason I can’t use auto-form is that I use React :-)) @aldeed