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

react-form

Package Overview
Dependencies
Maintainers
2
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-form - npm Package Compare versions

Comparing version 3.2.0 to 3.2.1

2

es/components/Field.js

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

if (typeof defaultValue !== 'undefined') {
if (typeof defaultValue !== 'undefined' && typeof this.getFieldValues().value === 'undefined') {
this.fieldApi.setValue(defaultValue);

@@ -62,0 +62,0 @@ }

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

if (typeof defaultValues !== 'undefined') {
if (typeof defaultValues !== 'undefined' && typeof this.fieldApi.getValue() === 'undefined') {
this.fieldApi.setValue(defaultValues);

@@ -144,2 +144,5 @@ }

});_this2.fieldApi = {
getValue: function getValue() {
return formApi.setValue(fullField);
},
setValue: function setValue(value) {

@@ -146,0 +149,0 @@ return formApi.setValue(fullField, value);

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

if (typeof defaultValue !== 'undefined') {
if (typeof defaultValue !== 'undefined' && typeof this.getFieldValues().value === 'undefined') {
this.fieldApi.setValue(defaultValue);

@@ -62,0 +62,0 @@ }

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

if (typeof defaultValues !== 'undefined') {
if (typeof defaultValues !== 'undefined' && typeof this.fieldApi.getValue() === 'undefined') {
this.fieldApi.setValue(defaultValues);

@@ -144,2 +144,5 @@ }

});_this2.fieldApi = {
getValue: function getValue() {
return formApi.setValue(fullField);
},
setValue: function setValue(value) {

@@ -146,0 +149,0 @@ return formApi.setValue(fullField, value);

{
"name": "react-form",
"version": "3.2.0",
"version": "3.2.1",
"description": "React Form is a lightweight framework and utility for building powerful forms in React applications.",

@@ -72,9 +72,9 @@ "main": "lib/index.js",

"babel-runtime": "^6.26.0",
"bootstrap": "^4.0.0-alpha.6",
"chai": "^4.1.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"bootstrap": "^4.0.0-alpha.6",
"copy-webpack-plugin": "^4.0.1",
"cross-env": "^5.1.3",
"css-loader": "^0.28.5",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.5.0",

@@ -81,0 +81,0 @@ "eslint-config-react-tools": "^1.0.10",

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