Comparing version 0.9.0 to 0.9.1
# History | ||
---- | ||
## 0.9.0 / 2015-01-18 | ||
## 0.9.0 / 2016-01-18 | ||
@@ -12,3 +12,3 @@ - support force, force to revalidate. | ||
## 0.8.0 / 2015-01-13 | ||
## 0.8.0 / 2016-01-13 | ||
@@ -23,2 +23,2 @@ - support validate/validateFirst option for getFieldProps | ||
- support normalize in getFieldProps option | ||
- support normalize in getFieldProps option |
@@ -453,3 +453,3 @@ 'use strict'; | ||
var fieldMeta = _this6.getFieldMeta(name); | ||
if (!fieldMeta.rules) { | ||
if (!_this6.hasRules(fieldMeta.validate)) { | ||
return null; | ||
@@ -456,0 +456,0 @@ } |
{ | ||
"name": "rc-form", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"description": "React High Order Form Component", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -116,3 +116,3 @@ # rc-form | ||
Event which is listened to collect form data. Defaults to `onChange`. | ||
Defaults to `onChange`. Event which is listened to collect form data. | ||
@@ -168,4 +168,11 @@ #### option.validate: Object[] | ||
Validate and get fields value by fieldNames. options is the same as validate method of [async-validator](https://github.com/yiminghe/async-validator). | ||
Validate and get fields value by fieldNames. | ||
options is the same as validate method of [async-validator](https://github.com/yiminghe/async-validator). | ||
add a new force member. | ||
#### options.force: Boolean | ||
Defaults to false. Whether to validate fields which have been validated(caused by validateTrigger). | ||
### getFieldError(name): String[] | ||
@@ -172,0 +179,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
252680
199