@alifd/field
Advanced tools
Comparing version 1.6.7 to 1.6.8
@@ -355,2 +355,9 @@ "use strict"; | ||
if (field) { | ||
//When the autoUnmount is false, the component uninstallation needs to clear the verification information to avoid blocking the validation. | ||
if (!component && !autoUnmount) { | ||
field.state = ''; | ||
delete field.errors; | ||
delete field.rules; | ||
delete field.rulesMap; | ||
} | ||
var ref = field.ref; | ||
@@ -357,0 +364,0 @@ if (ref) { |
{ | ||
"name": "@alifd/field", | ||
"version": "1.6.7", | ||
"version": "1.6.8", | ||
"description": "Fields can be used to manage data when it comes to form data manipulation and validation. After being associated with a component, the form data can be automatically written back, read, and verified.", | ||
@@ -88,3 +88,3 @@ "files": [ | ||
}, | ||
"homepage": "https://unpkg.com/@alifd/field@1.6.7/build/index.html", | ||
"homepage": "https://unpkg.com/@alifd/field@1.6.8/build/index.html", | ||
"bugs": "https://github.com/alibaba-fusion/field/issues", | ||
@@ -91,0 +91,0 @@ "publishConfig": { |
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
1837601
5494