GothAck / GothAck/forms-mongoose
Possible version issue?
- Dominant language
- JavaScript
- Stars
- 55
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
Following your 2-line example:
``` javascript
var forms = require('forms-mongoose');
var form = forms.create(pcr, 'new'); // Creates a new form for a "new" pcr
// Use the form object as you would with Forms
console.log (form.toHTML());
```
I get these errors when I run the app. pcr is a mongoose Schema in my project:
```
/home/nmartin/Projects/pcr-appserver/node_modules/forms-mongoose/node_modules/forms/lib/forms.js:88
return html + form.fields[k].toHTML(k, iterator);
^
TypeError: Object n has no method 'toHTML'
```
here are the versions I'm using:
```
forms-mongoose@0.0.6 node_modules/forms-mongoose
├── underscore@1.4.4
└── forms@0.2.2 (async@0.2.9)
```
```
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.