rc-field-form
Advanced tools
Comparing version 1.32.1 to 1.32.2
@@ -11,2 +11,3 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
import { isSimilar } from './utils/valueUtil'; | ||
import ListContext from './ListContext'; | ||
var Form = function Form(_ref, ref) { | ||
@@ -110,5 +111,7 @@ var name = _ref.name, | ||
}, [formInstance, validateTrigger]); | ||
var wrapperNode = /*#__PURE__*/React.createElement(FieldContext.Provider, { | ||
var wrapperNode = /*#__PURE__*/React.createElement(ListContext.Provider, { | ||
value: null | ||
}, /*#__PURE__*/React.createElement(FieldContext.Provider, { | ||
value: formContextValue | ||
}, childrenNode); | ||
}, childrenNode)); | ||
if (Component === false) { | ||
@@ -115,0 +118,0 @@ return wrapperNode; |
@@ -18,2 +18,3 @@ "use strict"; | ||
var _valueUtil = require("./utils/valueUtil"); | ||
var _ListContext = _interopRequireDefault(require("./ListContext")); | ||
var _excluded = ["name", "initialValues", "fields", "form", "preserve", "children", "component", "validateMessages", "validateTrigger", "onValuesChange", "onFieldsChange", "onFinish", "onFinishFailed"]; | ||
@@ -118,5 +119,7 @@ var Form = function Form(_ref, ref) { | ||
}, [formInstance, validateTrigger]); | ||
var wrapperNode = /*#__PURE__*/React.createElement(_FieldContext.default.Provider, { | ||
var wrapperNode = /*#__PURE__*/React.createElement(_ListContext.default.Provider, { | ||
value: null | ||
}, /*#__PURE__*/React.createElement(_FieldContext.default.Provider, { | ||
value: formContextValue | ||
}, childrenNode); | ||
}, childrenNode)); | ||
if (Component === false) { | ||
@@ -123,0 +126,0 @@ return wrapperNode; |
{ | ||
"name": "rc-field-form", | ||
"version": "1.32.1", | ||
"version": "1.32.2", | ||
"description": "React Form Component", | ||
@@ -5,0 +5,0 @@ "typings": "es/index.d.ts", |
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
257441
6221