chore: fix pasting on readonly InputNumber
parent
8eda1032df
commit
f7663088a7
|
@ -551,7 +551,7 @@ export default {
|
||||||
onPaste(event) {
|
onPaste(event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
||||||
if(this.readonly) return
|
if (this.readonly) return;
|
||||||
|
|
||||||
let data = (event.clipboardData || window['clipboardData']).getData('Text');
|
let data = (event.clipboardData || window['clipboardData']).getData('Text');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue