forms-mongoose icon indicating copy to clipboard operation
forms-mongoose copied to clipboard

Copying and pasting example in code gets error

Open askhogan opened this issue 12 years ago • 1 comments

TypeError: Invalid value for schema path email.type

askhogan avatar Oct 06 '13 00:10 askhogan

I was able to slightly figure out what is going on. None of my modules had

forms: {all:{}}

written for example

username: {type: String, default: '', forms: {all:{}}},

I didn't even know what that was. As soon as I added it, it worked.

askhogan avatar Oct 06 '13 01:10 askhogan