NewOldMax / react-form-validator-core

Core validator component for react forms
MIT License
95 stars 44 forks source link

Error: resetValidations is not a function. #9

Closed zhr1130 closed 6 years ago

zhr1130 commented 6 years ago

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 commented 6 years ago

10

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

NewOldMax commented 6 years ago

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 commented 6 years ago

@zhr1130 Make sure that you're using 0.4.1 version

NewOldMax commented 6 years ago

Not acceptable since 0.4.3