diff --git a/src-ui/src/app/components/common/input/monetary/monetary.component.ts b/src-ui/src/app/components/common/input/monetary/monetary.component.ts index 4ed32e7a1..56f0dd28e 100644 --- a/src-ui/src/app/components/common/input/monetary/monetary.component.ts +++ b/src-ui/src/app/components/common/input/monetary/monetary.component.ts @@ -17,7 +17,15 @@ import { getLocaleCurrencyCode } from '@angular/common' }) export class MonetaryComponent extends AbstractInputComponent { public currency: string = '' - public monetaryValue: string = '' + + public _monetaryValue: string = '' + public get monetaryValue(): string { + return this._monetaryValue + } + public set monetaryValue(value: string) { + if (value) this._monetaryValue = value + } + defaultCurrencyCode: string constructor(@Inject(LOCALE_ID) currentLocale: string) {