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

Confusing error for unknown column in defaultColumns #1248

Closed
dcousens opened this issue May 27, 2019 · 1 comment
Closed

Confusing error for unknown column in defaultColumns #1248

dcousens opened this issue May 27, 2019 · 1 comment

Comments

@dcousens
Copy link
Member

When defining adminConfig.defaultColumns, if the specified field doesn't exist, no error is thrown until you reach the administration UI, which throws the following error:

TypeError: sortBy.field is undefined

This is bad DX 👍

@dcousens dcousens changed the title Error for misnamed columns is confusing Error for unknown column is confusing in defaultColumns May 27, 2019
@dcousens dcousens changed the title Error for unknown column is confusing in defaultColumns Confusing error for unknown column in defaultColumns May 27, 2019
@MadeByMike MadeByMike mentioned this issue Sep 17, 2019
13 tasks
@Vultraz
Copy link
Contributor

Vultraz commented Oct 23, 2019

I can't reproduce this one 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants