Merge pull request #5731 from simplyratl/fix-pasting-on-readonly-inputnumber

fix: pasting on readonly InputNumber
pull/5758/head
Tuğçe Küçükoğlu 2024-05-16 12:49:36 +03:00 committed by GitHub
commit 3279e5c408
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -554,6 +554,9 @@ export default {
}
event.preventDefault();
if (this.readonly) return;
let data = (event.clipboardData || window['clipboardData']).getData('Text');
if (data) {