tuain-ng-forms-lib 12.0.6 → 12.0.7

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.
@@ -2160,7 +2160,8 @@
2160
2160
  return (_b = this._fieldValue) !== null && _b !== void 0 ? _b : false;
2161
2161
  break;
2162
2162
  case this._formConfig.fieldTypes.currency:
2163
- return this._fieldValue.replace(',', '');
2163
+ return (typeof this._fieldValue === 'string')
2164
+ ? this._fieldValue.replace(',', '') : this._fieldValue;
2164
2165
  break;
2165
2166
  default:
2166
2167
  return this._fieldValue;