Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rc-form

Package Overview
Dependencies
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-form - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

6

HISTORY.md
# 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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc