Change item value of lookup in cuba-react-ui field with optionsContainer

Hi,

I have generated front-end module via CUBA Studio. In the edit page of entity Person I have a field with association:

    <Field
            entityName={Person.NAME}
            propertyName="sizes"
            form={this.props.form}
            formItemOpts={{ style: { marginBottom: "12px" } }}
            optionsContainer={this.sizessDc}
            getFieldDecoratorOpts={{}}
          />

The data container is defined in this way:

 this.sizessDc = loadAssociationOptions(
        Person.NAME,
        "sizes",
        SizeGrid.NAME,
        getAttributePermission,
        { view: "sizeGrid-view" }
      );

The entity SizeGrid is:

import { StandardEntity } from "./base/sys$StandardEntity";
import { SizeGridType } from "./sportbest_SizeGridType";
export class SizeGrid extends StandardEntity {
  static NAME = "sportbest_SizeGrid";
  type?: SizeGridType | null;
  sizeCode?: string | null;
  sizeDescription?: string | null;
}
export type SizeGridViewName =
  | "_base"
  | "_local"
  | "_minimal"
  | "sizeGrid-view";
export type SizeGridView<V extends SizeGridViewName> = V extends "_base"
  ? Pick<SizeGrid, "id" | "type" | "sizeCode" | "sizeDescription">
  : V extends "_local"
  ? Pick<SizeGrid, "id" | "sizeCode" | "sizeDescription">
  : V extends "_minimal"
  ? Pick<SizeGrid, "id" | "type">
  : V extends "sizeGrid-view"
  ? Pick<SizeGrid, "id" | "sizeCode" | "sizeDescription" | "type">
  : never;

In lookup I see only the sizeCode

Schermata 2020-08-30 alle 23.09.22

but I want see type + sizeCode.

In generic UI I see this:

Schermata 2020-08-30 alle 23.14.44

How can I do the same in React?

Thanks to all for support

I resolved…

I wrote wrong then value of the annotation Name Pattern of the entity.