lowcode icon indicating copy to clipboard operation
lowcode copied to clipboard

`<FormattedMessage id=` should not be only entity name but also field

Open jozef-slezak opened this issue 4 years ago • 1 comments

should be id="customer.createdAt" instead of id="Customer"

            { field: "avatarUrl", flex: 1, type: "string", valueFormatter: ({ value }) => value, renderHeader: (params: GridColParams) => (<FormattedMessage id="Customer" defaultMessage="avatarUrl"/>) },
            { field: "createdAt", flex: 1, type: "date", valueFormatter: ({ value }) => intl.formatDate(value), renderHeader: (params: GridColParams) => (<FormattedMessage id="Customer" defaultMessage="createdAt"/>) },

jozef-slezak avatar Jun 04 '21 08:06 jozef-slezak

To solve this issue we will need at least entity name as input into function that are adding column/widget into table/form. This should be handeled somehow by demo app.

mat-app avatar Jun 13 '21 18:06 mat-app