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
Clicking a row in streamlit 0.84 causes a TypeError #22
Comments
I'm taking a look to see if I can create a PR to fix this... |
In streamlit 0.83, the plugin gets a value for |
In Streamlit 0.84, `component_value` is a `str` with JSON-encoded data, rather than a `dict` as with previous Streamlit versions. Added a check for `str` and if it's a `str`, we decode the JSON into a `dict`.
This PR fixes the issue: #23 |
Good catch. I met the same problem and your fix works for me. @msabramo @PablocFonseca Thanks for building this excellent component. Hope your next release could catch this fix to the lastest Streamlit changes. |
Fix PablocFonsecaGH-22 (TypeError with Streamlit 0.84)
Fix GH-22 (TypeError with Streamlit 0.84)
Upgrading to the newly released streamlit 0.84, if I click a row in the grid, I get a
TypeError
exception:The text was updated successfully, but these errors were encountered: