Skip to content

Add selection by array #417

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

Merged
merged 3 commits into from
Nov 28, 2021

Conversation

jahredhope
Copy link
Contributor

Related Issue

Closes #416

Description

Support passing an array to the field attribute of a column. Allowing the selection of keys with full-stops.

Details for why this would be valuable can be found in the related issue.

Related PRs

None that I can find.

Impacted Areas in Application

  • Table columns prop

Additional Notes

Thanks for considering this PR and your hard work on this project.

@matthewoestreich
Copy link
Member

Thank you for this! Looks good too me - just want to get @Domino987 approval on this before merging.

Copy link
Contributor

@Domino987 Domino987 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks awesome and thanks for this.
Also tests, nice :)
Just one small request, would you mind updating the type of field in the types file to match this as well?

@jahredhope
Copy link
Contributor Author

Ah yes, sorry about missing that. I thought the types came in from DefinitelyTyped. As someone who uses mostly TypeScript I appreciate you ensuring they are kept up-to-date.

Updated.

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

Successfully merging this pull request may close these issues.

Support field selection with complex keys
3 participants