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

web: fix table view trigger mode button #5757

Merged
merged 2 commits into from
May 3, 2022
Merged

web: fix table view trigger mode button #5757

merged 2 commits into from
May 3, 2022

Conversation

landism
Copy link
Member

@landism landism commented May 2, 2022

fixes #5754

This was broken by #5582 - the addition of id to the "mode" column definition caused the trigger mode to be written to RowValues as "mode" rather than "triggerMode", and this somehow didn't cause a compilation failure. The react-table docs around id vs accessor are not very clarifying, and I'm not sure it's worth getting to the bottom of that at the moment.

I'm happy to hear if there's a more idiomatic way to write the test.

@landism landism requested review from nicks and lizzthabet May 2, 2022 21:51
Copy link
Member

@nicks nicks left a comment

Choose a reason for hiding this comment

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

we should probably also have a test that clicks the button and makes sure the right requests are sent?

@landism landism merged commit 5c05244 into master May 3, 2022
@landism landism deleted the matt/5754 branch May 3, 2022 20:14
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.

Toggle button for Trigger mode not working
2 participants