fix pasting on readonly InputNumber
parent
86a7d4e2a3
commit
8eda1032df
|
@ -550,6 +550,9 @@ export default {
|
|||
},
|
||||
onPaste(event) {
|
||||
event.preventDefault();
|
||||
|
||||
if(this.readonly) return
|
||||
|
||||
let data = (event.clipboardData || window['clipboardData']).getData('Text');
|
||||
|
||||
if (data) {
|
||||
|
|
Loading…
Reference in New Issue