diff --git a/frontend/src/app/modules/fields/edit/field-types/float-edit-field.ts b/frontend/src/app/modules/fields/edit/field-types/float-edit-field.ts index 729ab4d854..2ca663b370 100644 --- a/frontend/src/app/modules/fields/edit/field-types/float-edit-field.ts +++ b/frontend/src/app/modules/fields/edit/field-types/float-edit-field.ts @@ -44,7 +44,7 @@ import {EditFieldComponent} from "core-app/modules/fields/edit/edit-field.compon ` }) export class FloatEditFieldComponent extends EditFieldComponent { - public locale = I18n.locale + public locale = I18n.locale; public field:FloatEditField; } diff --git a/frontend/src/app/modules/fields/edit/field-types/integer-edit-field.ts b/frontend/src/app/modules/fields/edit/field-types/integer-edit-field.ts index b935a6f5c8..8be4a089ea 100644 --- a/frontend/src/app/modules/fields/edit/field-types/integer-edit-field.ts +++ b/frontend/src/app/modules/fields/edit/field-types/integer-edit-field.ts @@ -37,12 +37,14 @@ import {EditFieldComponent} from "core-app/modules/fields/edit/edit-field.compon [attr.aria-required]="field.required" [attr.required]="field.required" [disabled]="field.inFlight" + [attr.lang]="locale" [(ngModel)]="field.value" (keydown)="handler.handleUserKeydown($event)" [id]="handler.htmlId" /> ` }) export class IntegerEditFieldComponent extends EditFieldComponent { + public locale = I18n.locale; public field:DurationEditField; }