@superdispatch/ui 0.26.0 → 0.26.1
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-node/index.js
CHANGED
|
@@ -1729,14 +1729,13 @@ function NumberInputComponent(_ref) {
|
|
|
1729
1729
|
thousandSeparator: thousandSeparator,
|
|
1730
1730
|
allowedDecimalSeparators: ['.', ','],
|
|
1731
1731
|
onValueChange: (values, sourceInfo) => {
|
|
1732
|
-
var inputValue = values.value;
|
|
1733
1732
|
var {
|
|
1734
1733
|
event
|
|
1735
1734
|
} = sourceInfo;
|
|
1736
1735
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
|
1737
1736
|
onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread(_objectSpread({}, event), {}, {
|
|
1738
1737
|
target: _objectSpread(_objectSpread({}, event === null || event === void 0 ? void 0 : event.target), {}, {
|
|
1739
|
-
value:
|
|
1738
|
+
value: disableValueParsing ? values.value : values.floatValue
|
|
1740
1739
|
})
|
|
1741
1740
|
}));
|
|
1742
1741
|
}
|