We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b8a377 commit 2b016a5Copy full SHA for 2b016a5
1 file changed
components/lib/inputnumber/InputNumber.js
@@ -555,6 +555,11 @@ export const InputNumber = React.memo(
555
let char = event.key;
556
557
if (char) {
558
+ // get decimal separator in current locale
559
+ if (char === '.') {
560
+ char = _decimalSeparator.current;
561
+ }
562
+
563
const _isDecimalSign = isDecimalSign(char);
564
const _isMinusSign = isMinusSign(char);
565
0 commit comments