Comparing version 0.2.2 to 0.2.3
@@ -26,3 +26,3 @@ import { useMemo } from 'react'; | ||
var m = field.getModel(); | ||
if (!m || isFieldModel(m)) { | ||
if (!m || !isFieldModel(m)) { | ||
var v = or(field.patchedValue, function () { return or(field.initialValue, defaultValue); }); | ||
@@ -29,0 +29,0 @@ model = new FieldModel(v); |
{ | ||
"name": "formulr", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Form toolkit for React", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
240879
0