Merge pull request #112 from michaelcontento/patch-2

Fix code example in API.md
This commit is contained in:
Christian Alfoni 2015-04-24 19:47:38 +02:00
commit 58e60aba63
1 changed files with 1 additions and 1 deletions

2
API.md
View File

@ -118,7 +118,7 @@ Whenever the form becomes valid the "onValid" handler is called. Use it to chang
#### <a name="oninvalid">onInvalid()</a>
```html
<Formsy.FormonInvalid={this.disableSubmitButton}></Formsy.Form>
<Formsy.Form onInvalid={this.disableSubmitButton}></Formsy.Form>
```
Whenever the form becomes invalid the "onInvalid" handler is called. Use it to for example revert "onValid" state.