From 9624deea4ba9d6f9a0a85aaa659de6ecf6da41c8 Mon Sep 17 00:00:00 2001 From: Sneha Date: Tue, 9 Jan 2024 18:08:59 +0530 Subject: [PATCH 1/2] Update promo-question.vue --- .../promo-modal-question/promo-question/promo-question.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/layouts/payment-method/promo-modal-question/promo-question/promo-question.vue b/src/layouts/payment-method/promo-modal-question/promo-question/promo-question.vue index 053e8eedc..e840c5ace 100644 --- a/src/layouts/payment-method/promo-modal-question/promo-question/promo-question.vue +++ b/src/layouts/payment-method/promo-modal-question/promo-question/promo-question.vue @@ -43,7 +43,9 @@ export default { }, methods: { validateAlphanumeric() { - this.value = this.value.replace(ALPHANUMERIC_REGEX, ""); + setTimeout(() => { + this.value = this.value.replace(ALPHANUMERIC_REGEX, ""); + }, 0); }, }, components: { From 59355ff8d1e3d4e09ecd2c58325fc29f8986d8c7 Mon Sep 17 00:00:00 2001 From: Sneha Date: Tue, 9 Jan 2024 18:21:00 +0530 Subject: [PATCH 2/2] Update promo-question.vue --- .../promo-modal-question/promo-question/promo-question.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/payment-method/promo-modal-question/promo-question/promo-question.vue b/src/layouts/payment-method/promo-modal-question/promo-question/promo-question.vue index e840c5ace..0e71fdb9f 100644 --- a/src/layouts/payment-method/promo-modal-question/promo-question/promo-question.vue +++ b/src/layouts/payment-method/promo-modal-question/promo-question/promo-question.vue @@ -45,7 +45,7 @@ export default { validateAlphanumeric() { setTimeout(() => { this.value = this.value.replace(ALPHANUMERIC_REGEX, ""); - }, 0); + }); }, }, components: {