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

Error pagination and grouping if value is undefined #201

Closed
Domino987 opened this issue Jan 31, 2019 · 1 comment
Closed

Error pagination and grouping if value is undefined #201

Domino987 opened this issue Jan 31, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Domino987
Copy link
Collaborator

Describe the bug
If a column field is undefined of one object, and it is grouped by that field, it crashes.

To Reproduce
Steps to reproduce the behavior:

  1. Go to: https://mbrn.github.io/material-table/#/docz-examples-12-example-grouping
  2. Add items with one field undefined
  3. Sort for that field

Expected behavior
It should not crash, if one field is undefined, but should use the empty label provided in the columns object

@mbrn mbrn self-assigned this Jan 31, 2019
@mbrn mbrn added the bug Something isn't working label Jan 31, 2019
@mbrn mbrn closed this as completed in f498f2f Feb 2, 2019
@mbrn
Copy link
Owner

mbrn commented Feb 2, 2019

v1.17.0 published

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