Bugfix/fix default locale in value component (#3454)

* Fix default locale

* Update changelog
pull/3461/head
Thomas Kaul 4 months ago committed by GitHub
parent 9c4e22978d
commit 6d941500cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -16,6 +16,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Improved the language localization for German (`de`)
- Upgraded `ng-extract-i18n-merge` from version `2.10.0` to `2.12.0`
### Fixed
- Fixed an issue with the default locale in the value component
## 2.84.0 - 2024-06-01
### Added

@ -27,7 +27,7 @@ export class GfValueComponent implements OnChanges {
@Input() isCurrency = false;
@Input() isDate = false;
@Input() isPercent = false;
@Input() locale = getLocale();
@Input() locale: string;
@Input() position = '';
@Input() precision: number | undefined;
@Input() size: 'large' | 'medium' | 'small' = 'small';
@ -135,6 +135,7 @@ export class GfValueComponent implements OnChanges {
this.formattedValue = '';
this.isNumber = false;
this.isString = false;
this.locale = this.locale || getLocale();
this.useAbsoluteValue = false;
}
}

Loading…
Cancel
Save