intelicoreact 1.4.95 → 1.4.96

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.
@@ -172,7 +172,7 @@ const NumericInput = _ref => {
172
172
  if (inputValue !== value) setIsFocused(true);
173
173
  setInputValueFormated(isPriceInput && (inputValue === null || inputValue === void 0 ? void 0 : inputValue.length) > 0 ? isFocused ? (0, _fieldValueFormatters.formatToRemoveComa)(inputValue) : (0, _fieldValueFormatters.formatToAddBitDepthPoints)(inputValue) : inputValue);
174
174
  setIntMemoVal((0, _fieldValueFormatters.formatToRemoveComa)(inputValue));
175
- if (typeof onChange === "function") onChange(inputValue === null || inputValue === void 0 ? void 0 : inputValue.toString());
175
+ if (typeof onChange === "function" && value !== undefined && +inputValue !== +value) onChange(inputValue === null || inputValue === void 0 ? void 0 : inputValue.toString());
176
176
  }, [inputValue]);
177
177
 
178
178
  //On Integer Value Change
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelicoreact",
3
- "version": "1.4.95",
3
+ "version": "1.4.96",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [