Comparing version 1.4.4 to 1.4.5
@@ -461,3 +461,9 @@ import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; | ||
} else if (wrappedComponentRef) { | ||
formProps.ref = wrappedComponentRef; | ||
var called = false; | ||
formProps.ref = function () { | ||
if (!called) { | ||
wrappedComponentRef.apply(undefined, arguments); | ||
called = true; | ||
} | ||
}; | ||
} | ||
@@ -464,0 +470,0 @@ var props = mapProps.call(this, _extends({}, formProps, restProps, { |
@@ -505,3 +505,9 @@ 'use strict'; | ||
} else if (wrappedComponentRef) { | ||
formProps.ref = wrappedComponentRef; | ||
var called = false; | ||
formProps.ref = function () { | ||
if (!called) { | ||
wrappedComponentRef.apply(undefined, arguments); | ||
called = true; | ||
} | ||
}; | ||
} | ||
@@ -508,0 +514,0 @@ var props = mapProps.call(this, (0, _extends3['default'])({}, formProps, restProps, { |
{ | ||
"name": "rc-form", | ||
"version": "1.4.4", | ||
"version": "1.4.5", | ||
"description": "React High Order Form Component", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
756697
9199