@canlooks/can-ui 0.0.60 → 0.0.61

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.
@@ -161,7 +161,7 @@ const FormItem = ({ ref, wrapperRef, field, initialValue, label = '', rules, req
161
161
  });
162
162
  }
163
163
  return children;
164
- }, [children, innerError.current, field, size, randomKey.current]);
164
+ }, [children, innerError.current, field, size, randomKey.current, fieldValue]);
165
165
  if (noStyle || variant === 'plain') {
166
166
  return renderedChildren;
167
167
  }
@@ -158,7 +158,7 @@ export const FormItem = ({ ref, wrapperRef, field, initialValue, label = '', rul
158
158
  });
159
159
  }
160
160
  return children;
161
- }, [children, innerError.current, field, size, randomKey.current]);
161
+ }, [children, innerError.current, field, size, randomKey.current, fieldValue]);
162
162
  if (noStyle || variant === 'plain') {
163
163
  return renderedChildren;
164
164
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canlooks/can-ui",
3
- "version": "0.0.60",
3
+ "version": "0.0.61",
4
4
  "author": "C.CanLiang <canlooks@gmail.com>",
5
5
  "description": "My ui framework",
6
6
  "license": "MIT",