@sumaris-net/ngx-components 1.20.5 → 1.20.6

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.
@@ -4919,7 +4919,7 @@
4919
4919
  if ((_a = definition.autocomplete) === null || _a === void 0 ? void 0 : _a.displayWith) {
4920
4920
  return definition.autocomplete.displayWith(value);
4921
4921
  }
4922
- return joinPropertiesPath(obj, ((_b = definition.autocomplete) === null || _b === void 0 ? void 0 : _b.attributes) || ['label', 'name']) || undefined;
4922
+ return joinPropertiesPath(value, ((_b = definition.autocomplete) === null || _b === void 0 ? void 0 : _b.attributes) || ['label', 'name']) || undefined;
4923
4923
  }
4924
4924
  case 'boolean':
4925
4925
  return (obj === 1 || obj === true || obj === 'true') ? this.i18nYes : this.i18nNo;