Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hooks error: Uncaught ReferenceError: AutoForm is not defined #20

Open
ghost opened this issue Sep 9, 2015 · 1 comment
Open

Hooks error: Uncaught ReferenceError: AutoForm is not defined #20

ghost opened this issue Sep 9, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 9, 2015

Hi there,

when I try to add Hooks to autoform-ionic I get the error message:
Uncaught ReferenceError: AutoForm is not defined
I think this is because in your package.js file aldeeds autoform package is just added but not exported of some kind. Is this right?
When I add aldeeds autoform additionally to this package it works fine, but I am wondering whether it makes sense to have both packages installed and also two different autoform versions then.

Wouldn't it be better to export the autoform object from this package so it can be used like so

AutoForm.hooks(...

Regards

@pors
Copy link

pors commented Sep 12, 2015

I have the same issue. What works for me:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant