easy-react-form
Advanced tools
Comparing version 1.0.27 to 1.1.0
<!-- 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 @@ =================== |
@@ -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
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
287384