awing-library 2.1.206-dev → 2.1.207-dev

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.
@@ -176,10 +176,7 @@ function DataInput(props) {
176
176
  }
177
177
  case 'number': {
178
178
  return ((0, jsx_runtime_1.jsx)(AWING_1.NumberFormat, __assign({ id: fieldName.toString(), name: fieldName.toString(), fullWidth: true, variant: "standard" }, other, { value: value !== null && value !== void 0 ? value : '', onChange: function (event) {
179
- // let newValue = Number(event.target.value)
180
- var newValue = fieldDefinition.isFloat
181
- ? event.target.value
182
- : Number(event.target.value);
179
+ var newValue = Number(event.target.value);
183
180
  onChange(newValue, checkValidationValue(fieldDefinition, newValue));
184
181
  }, error: error, helperText: !disableHelperText && error
185
182
  ? (_h = fieldDefinition.helperText) !== null && _h !== void 0 ? _h : t('Common.InvalidData')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "awing-library",
3
- "version": "2.1.206-dev",
3
+ "version": "2.1.207-dev",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",