Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jozef-slezak opened this issue Jun 4, 2021 · 1 comment
Open
Labels
bug Something isn't working

Comments

@jozef-slezak
Copy link
Contributor

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 jozef-slezak added the bug Something isn't working label Jun 4, 2021
@jozef-slezak jozef-slezak changed the title <FormattedMessage id= should not be entity name <FormattedMessage id= should not be only entity name but also field Jun 4, 2021
@mat-app
Copy link
Collaborator

mat-app commented Jun 13, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants