intelicoreact 1.5.30 → 1.5.31

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.
@@ -230,7 +230,9 @@ const Input = /*#__PURE__*/_react.default.forwardRef((_ref, ref) => {
230
230
  } = (0, _utils.getIsOnlyAnObject)(onlyNumbers) ? onlyNumbers : {};
231
231
  let minusSymbol;
232
232
  let inputValue = e.target ? e.target.value : e;
233
- if (isPseudoPasswordMode) inputValue = inputValue.includes(HIDE_SYMBOL) ? handle.processPseudoValue(inputValue, value, e) : inputValue;
233
+ if (isPseudoPasswordMode) inputValue = inputValue.includes(HIDE_SYMBOL) ? handle.processPseudoValue(inputValue, value, e) : inputValue; // If user typed comma(',') replace it to dot('.') for float value typing
234
+
235
+ if (isPriceInput && inputValue.charAt(inputValue.length - 1) === ',') inputValue = inputValue.substring(0, inputValue.length - 1).concat('.');
234
236
  if (isUseBitDepthPoints) inputValue = (0, _fieldValueFormatters.formatToRemoveComa)(inputValue);
235
237
  if (onlyNumbers) inputValue = inputValue.replace(/,/g, ".");
236
238
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelicoreact",
3
- "version": "1.5.30",
3
+ "version": "1.5.31",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [