Skip to content

Commit cf11f71

Browse files
committed
fix(grid): Reset currency position when locale changes.
1 parent b29005b commit cf11f71

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

projects/igniteui-angular/src/lib/grids/grid-base.directive.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3509,6 +3509,8 @@ export abstract class IgxGridBaseDirective implements GridType,
35093509
getI18nManager().onResourceChange((args: ResourceChangeEventArgs) => {
35103510
this._defaultLocale = args.newLocale;
35113511
this._defaultResourceStrings = getCurrentResourceStrings(GridResourceStringsEN, false);
3512+
// Reset currency position because of new locale.
3513+
this._currencyPositionLeft = undefined;
35123514
if (!this._init) {
35133515
this.markForCheck();
35143516
}

0 commit comments

Comments
 (0)