From 8203539384520eb330b3ae3599c98e56dcaddd21 Mon Sep 17 00:00:00 2001 From: navedqb <109583873+navedqb@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:16:10 +0530 Subject: [PATCH] fixes minFractionDigits defaulting to 0 when set to null --- components/lib/inputnumber/InputNumber.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/lib/inputnumber/InputNumber.vue b/components/lib/inputnumber/InputNumber.vue index 3c871e620..56a4a47c4 100755 --- a/components/lib/inputnumber/InputNumber.vue +++ b/components/lib/inputnumber/InputNumber.vue @@ -160,8 +160,8 @@ export default { currency: this.currency, currencyDisplay: this.currencyDisplay, useGrouping: this.useGrouping, - minimumFractionDigits: this.minFractionDigits, - maximumFractionDigits: this.maxFractionDigits, + minimumFractionDigits: this.minFractionDigits ?? undefined, + maximumFractionDigits: this.maxFractionDigits ?? undefined, roundingMode: this.roundingMode }; },