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

Fix cell error when data editor gets reconstructed #8640

Merged
merged 14 commits into from May 14, 2024

Conversation

LukasMasuch
Copy link
Collaborator

@LukasMasuch LukasMasuch commented May 10, 2024

Describe your changes

The st.data_editor has an issue with reconstructing the state after unmounting if cells in added rows (num_rows==dynamic) contain empty (null/None) values.

GitHub Issue Link (if applicable)

Testing Plan

  • Added e2e test to verify the reconstruction works correctly.

Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

Copy link
Collaborator

@raethlein raethlein left a comment

Choose a reason for hiding this comment

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

Thanks for the fix 🚀

@LukasMasuch LukasMasuch enabled auto-merge (squash) May 14, 2024 14:13
@LukasMasuch LukasMasuch merged commit d26bb4d into develop May 14, 2024
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"error during cell creation" when adding item in data_editor with dynamic row add.
2 participants