Fix code example in API.md

This commit is contained in:
Michael Contento 2015-04-24 18:43:35 +02:00
parent 735325a377
commit cf1550d4f2
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.