From 81842e65aa32b161d5c35ea7538b53c6626129de Mon Sep 17 00:00:00 2001 From: Stefan Zerkalica Date: Wed, 20 Nov 2024 12:36:44 +0300 Subject: [PATCH] $mol_number ignore value on value_string input --- number/number.view.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/number/number.view.ts b/number/number.view.ts index 7f4152fe2e..90285bbf3d 100644 --- a/number/number.view.ts +++ b/number/number.view.ts @@ -49,10 +49,7 @@ namespace $.$$ { override value_string( next? : string ) { const current = this.value_normalized() - if ( next !== undefined) { - const normalized = this.value_normalized( next ) - if (normalized) return normalized - } + if ( next !== undefined) this.value_normalized( next ) return next ?? current