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.5.0 to 0.5.1

3

lib/createForm.js

@@ -62,3 +62,3 @@ 'use strict';

this.cachedBind = {};
var bindMethods = ['getFieldProps', 'isFieldValidating', 'getFieldError', 'validateFieldsByName', 'getFieldsValue', 'setFieldsValue', 'getFieldValue'];
var bindMethods = ['getFieldProps', 'isFieldValidating', 'getFieldError', 'setFields', 'validateFieldsByName', 'getFieldsValue', 'setFieldsValue', 'getFieldValue'];
bindMethods.forEach(function (m) {

@@ -256,2 +256,3 @@ _this[m] = _this[m].bind(_this);

setFieldsValue: this.setFieldsValue,
setFields: this.setFields,
getFieldProps: this.getFieldProps,

@@ -258,0 +259,0 @@ getFieldError: this.getFieldError,

{
"name": "rc-form",
"version": "0.5.0",
"version": "0.5.1",
"description": "React High Order Form Component",

@@ -5,0 +5,0 @@ "keywords": [

@@ -119,2 +119,6 @@ # rc-form

### setFields(obj: Object)
set fields by kv object. each field can contain errors and value member.
### validateFields([fieldNames: String[]], callback: Function(errors, values))

@@ -121,0 +125,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