We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If there is duplicated items in multi-container, moving item results in breaking widget layout as below.
In this example, items named "C" are duplicated.
import streamlit as st from streamlit_sortables import sort_items original_items = [ {'header': 'first container', 'items': ['A', 'B', 'C', "C"]}, {'header': 'second container', 'items': ['D', 'E', 'F']} ] sorted_items = sort_items(original_items, multi_containers=True) st.write(f'original_items: {original_items}') st.write(f'sorted_items: {sorted_items}')
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Abstract
If there is duplicated items in multi-container, moving item results in breaking widget layout as below.
In this example, items named "C" are duplicated.
2023-02-07.11-49-35.mp4
Reproducible code
The text was updated successfully, but these errors were encountered: