We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37ba978 commit 5ba41beCopy full SHA for 5ba41be
1 file changed
components/lib/inputnumber/InputNumber.js
@@ -585,6 +585,10 @@ export const InputNumber = React.memo(
585
586
let data = (event.clipboardData || window.clipboardData).getData('Text');
587
588
+ if (props.inputId === 'integeronly' && /[^\d-]/.test(data)) {
589
+ return;
590
+ }
591
+
592
if (data) {
593
let filteredData = parseValue(data);
594
0 commit comments