Set lang attribute on integer edit field

pull/6649/head
Oliver Günther 6 years ago
parent 7d9cbcece0
commit c49740ec5d
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 2
      frontend/src/app/modules/fields/edit/field-types/float-edit-field.ts
  2. 2
      frontend/src/app/modules/fields/edit/field-types/integer-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;
}

@ -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;
}

Loading…
Cancel
Save