Merge pull request #5731 from simplyratl/fix-pasting-on-readonly-inputnumber
fix: pasting on readonly InputNumberpull/5758/head
commit
3279e5c408
|
@ -554,6 +554,9 @@ export default {
|
|||
}
|
||||
|
||||
event.preventDefault();
|
||||
|
||||
if (this.readonly) return;
|
||||
|
||||
let data = (event.clipboardData || window['clipboardData']).getData('Text');
|
||||
|
||||
if (data) {
|
||||
|
|
Loading…
Reference in New Issue