Skip to content

Commit d504e10

Browse files
authored
Merge branch 'release/6.2.5' into NAE-1763
2 parents 5db4f20 + 3a8ad31 commit d504e10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/netgrif-components-core/src/lib/data-fields/number-field/currency-number-field/abstract-currency-number-field.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export abstract class AbstractCurrencyNumberFieldComponent extends AbstractNumbe
2323
this.fieldType = this.TEXT_TYPE;
2424
this.transformedValue = this.transformCurrency(this.numberField.value?.toString());
2525
this.numberField.valueChanges().subscribe(value => {
26-
if (value !== undefined) {
26+
if (value !== undefined && value !== null) {
2727
if (this.fieldType === this.TEXT_TYPE) {
2828
this.transformedValue = this.transformCurrency(value.toString()) + this.WHITESPACE;
2929
}

0 commit comments

Comments
 (0)