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

Dropdown Cell no longer displays values that are missing from allowed values #937

Open
itsToggle opened this issue Apr 8, 2024 · 0 comments

Comments

@itsToggle
Copy link

Hey guys,

Im using streamlit, which uses the glide-data-grid. Since the upgrade to glide-data-grid v6.0.0 it seems that the dropdown cell is no longer rendering cell values that arent in the list of allowed values. This breaks a lot of my use cases for the dropdown cell:

I often want my users to be able to add strictly unique rows to a dataframe. For example, I have a list of parameter names that the users should be able to add and assign values to. I only want the users to be able to add a parameter name once, so they can only assign one value to this parameter. I therefore remove the values that are already added from the available options. Prior to v6.0.0 the values would still be rendered, eventhough they were no longer part of the available options. It seems that this has now changed:

I believe the changes here are whats causing this new behaviour.

Is there any way to get old bahviour back for this? Thanks!

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

No branches or pull requests

1 participant