@sumaris-net/ngx-components 2.4.50 → 2.4.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10239,7 +10239,9 @@ class AppFormField {
10239
10239
  computeValues(values) {
10240
10240
  if (!values)
10241
10241
  return [];
10242
- return values.map(v => (typeof v === 'string' ? { key: v, label: v } : v));
10242
+ return values.map(v => (typeof v === 'string')
10243
+ ? { key: v, value: v }
10244
+ : { key: v.key, value: this.translate.instant(v.value) });
10243
10245
  }
10244
10246
  checkAndResolveFormControl() {
10245
10247
  if (this.formControl)