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

Configure non-range indices as required for editing with st.data_editor #7481

Merged
merged 1 commit into from Oct 4, 2023

Conversation

LukasMasuch
Copy link
Collaborator

Describe your changes

This PR adds logic to configure non-range indices as required automatically. Non-range indices need a value from the user for a row to be added correctly. Therefore, we automatically apply the required configuration for these columns to make this more obvious.

GitHub Issue Link (if applicable)

Testing Plan

  • Added test. Additional e2e tests will be added in a subsequent PR.

Contribution License Agreement

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

@LukasMasuch LukasMasuch merged commit 5e8f115 into develop Oct 4, 2023
102 of 107 checks passed
eric-skydio pushed a commit to eric-skydio/streamlit that referenced this pull request Dec 20, 2023
zyxue pushed a commit to zyxue/streamlit that referenced this pull request Mar 22, 2024
zyxue pushed a commit to zyxue/streamlit that referenced this pull request Apr 16, 2024
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.

st.data_editor does not return added rows when dataframe from file
2 participants