Merge pull request #366 from maniart/patch-2

Nit-picky typo
This commit is contained in:
Dmitry Semigradsky 2016-07-21 17:57:27 +03:00 committed by GitHub
commit 168521e578
1 changed files with 1 additions and 1 deletions

2
API.md
View File

@ -248,7 +248,7 @@ You should always use the [**getValue()**](#getvalue) method inside your formsy
}
}}/>
```
An comma separated list with validation rules. Take a look at [**Validators**](#validators) to see default rules. Use ":" to separate argument passed to the validator. The argument will go through a **JSON.parse** converting them into correct JavaScript types. Meaning:
A comma separated list with validation rules. Take a look at [**Validators**](#validators) to see default rules. Use ":" to separate argument passed to the validator. The argument will go through a **JSON.parse** converting them into correct JavaScript types. Meaning:
```jsx
<MyInputComponent name="fruit" validations="isIn:['apple', 'orange']"/>