This commit is contained in:
Gregory Ostermayr 2015-07-06 17:09:48 -04:00
parent 4279dd59a2
commit 701e2308a4
1 changed files with 1 additions and 1 deletions

2
API.md
View File

@ -210,7 +210,7 @@ You should always use the [**getValue()**](#getvalue) method inside your formsy
}
}}/>
```
An comma seperated 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:
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:
```html
<MyInputComponent name="fruit" validations="isIn:['apple', 'orange']"/>