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

easy-react-form

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easy-react-form - npm Package Compare versions

Comparing version 1.0.27 to 1.1.0

5

CHANGELOG.md
<!-- pass through `required` property even when the field is not empty: maybe add some `passThroughRequiredWhenNotEmpty` configuration option. -->
1.1.0 / 05.02.2020
===================
* `<Field required={true}/>` property is now always passed through to the underlying `component` (previously it was passed through only when the field `value` was empty).
1.0.15 / 26.07.2019

@@ -4,0 +9,0 @@ ===================

2

commonjs/field.js

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

error: showError ? error : undefined,
required: required && isValueEmpty(value) ? true : false,
required: required ? true : false,
value: value

@@ -360,0 +360,0 @@ }));

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

error: showError ? error : undefined,
required: required && isValueEmpty(value) ? true : false,
required: required ? true : false,
value: value

@@ -360,0 +360,0 @@ }));

{
"name": "easy-react-form",
"version": "1.0.27",
"version": "1.1.0",
"description": "Simple, fast and easy-to-use React Form.",

@@ -5,0 +5,0 @@ "main": "index.commonjs.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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