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

Error: resetValidations is not a function. #9

Closed
zhr1130 opened this issue Mar 1, 2018 · 4 comments
Closed

Error: resetValidations is not a function. #9

zhr1130 opened this issue Mar 1, 2018 · 4 comments

Comments

@zhr1130
Copy link

zhr1130 commented Mar 1, 2018

I tried to use resetValidations, however I got error: this.form.resetValidations is not a function. And when I looked into the source in browser, I didn't even see the function under ValidatorForm.js.
I think the reason is we didn't bind it correctly in ValidatorForm.

@zhr1130
Copy link
Author

zhr1130 commented Mar 1, 2018

#10

I opened a PR to fix it. Would someone take a look ?

@NewOldMax
Copy link
Owner

NewOldMax commented Mar 2, 2018

Hi,
Can you show your code? Because it's working fine for me. And you can see on demo site (Reset form example) that it's working too

@NewOldMax
Copy link
Owner

@zhr1130 Make sure that you're using 0.4.1 version

@NewOldMax
Copy link
Owner

Not acceptable since 0.4.3

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

2 participants