Skip to content

Commit

Permalink
$mol_number ignore value on value_string input
Browse files Browse the repository at this point in the history
  • Loading branch information
zerkalica committed Nov 20, 2024
1 parent ad14135 commit 81842e6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions number/number.view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 81842e6

Please sign in to comment.