From f7663088a7adf30ba5c29e27de346d5e82465393 Mon Sep 17 00:00:00 2001 From: nikicaraznatovic Date: Mon, 13 May 2024 19:23:26 +0200 Subject: [PATCH] chore: fix pasting on readonly InputNumber --- components/lib/inputnumber/InputNumber.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/inputnumber/InputNumber.vue b/components/lib/inputnumber/InputNumber.vue index bb1db6dd4..f4c8f6fb1 100755 --- a/components/lib/inputnumber/InputNumber.vue +++ b/components/lib/inputnumber/InputNumber.vue @@ -551,7 +551,7 @@ export default { onPaste(event) { event.preventDefault(); - if(this.readonly) return + if (this.readonly) return; let data = (event.clipboardData || window['clipboardData']).getData('Text');