You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2020. It is now read-only.
I am using cfs-autoform to create an attachments upload feature. I need to be able to "clean" my schema prior to submit via Meteor.call, but when I try to run CfsAutoForm.Hooks.beforeInsert(doc) I get the following error in the browser:
which now seems to work. I still thing there is an issue with cfs-autoform-hooks.js that needs to be corrected, in that line 3 should not use this.template, but I don't know what is should be using in stead.
mbabauer
pushed a commit
to mbabauer/meteor-cfs-autoform
that referenced
this issue
Sep 25, 2015
I am using cfs-autoform to create an attachments upload feature. I need to be able to "clean" my schema prior to submit via
Meteor.call
, but when I try to runCfsAutoForm.Hooks.beforeInsert(doc)
I get the following error in the browser:When I placed a breakpoint on line 11 of cfs-autoform-hooks.js, the
this
has a template field but it's set toundefined
. My Autoform hooks look like:The text was updated successfully, but these errors were encountered: