longshotlabs / js-message-box

A package for defining and getting validation error messages, with support for Meteor Tracker reactivity
MIT License
7 stars 17 forks source link

Add example for returning objects to messagebox #8

Closed dcantatore closed 7 years ago

aldeed commented 7 years ago

@dcantatore Thanks! Since this is the message-box package readme, can you adjust your example to use MessageBox directly without referencing SimpleSchema? And/or add this section to the simpl-schema readme

dcantatore commented 7 years ago

My mistake, I haven't used messagebox without simpl-schema, does this work the same without simpl-schema?

It should likely be on both, returning error objects was important to find out about.

aldeed commented 7 years ago

@dcantatore Well, no now that I read through your text again, it's pretty specific to simple schema. I'd say just close this and open a SS PR with your same text in that readme.