indicator-ui 0.0.135 → 0.0.136

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/index.js CHANGED
@@ -8983,10 +8983,11 @@ function FormBuilder({ schema, formDataDefault, onChange, onChangeIsError, input
8983
8983
  validateFunctions.current = [];
8984
8984
  // removePrivateRefStoreValue(KEY_WAY_STORE_NAME)
8985
8985
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
8986
- if (formDataDefaultListener !== undefined) {
8986
+ if (formDataDefaultListener !== undefined &&
8987
+ JSON.stringify(formDataDefaultListener) !== JSON.stringify(formData)) {
8987
8988
  setFormData({ ...formDataDefaultListener });
8988
8989
  }
8989
- }, [JSON.stringify(formDataDefaultListener)]);
8990
+ }, [formDataDefaultListener]);
8990
8991
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
8991
8992
  let resForm = formData;
8992
8993
  if (clearForm) {