dirk-cfx-react 1.1.16 → 1.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hooks/index.cjs +1 -1
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/index.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2067,7 +2067,7 @@ function createFormStore(initialValues, validationRules, onSubmit) {
|
|
|
2067
2067
|
changedFields: Array.from(changed),
|
|
2068
2068
|
changedCount: changed.size
|
|
2069
2069
|
});
|
|
2070
|
-
if (options?.validate
|
|
2070
|
+
if (!options?.validate) return;
|
|
2071
2071
|
const rule = flatRules[path];
|
|
2072
2072
|
if (!rule) return;
|
|
2073
2073
|
Promise.resolve(runRule(rule, value, newValues)).then((error2) => {
|