nicedouble / StreamlitAntdComponents

A Streamlit component to display Antd-Design
https://nicedouble-streamlitantdcomponentsdemo-app-middmy.streamlit.app/
MIT License
409 stars 28 forks source link

New Streamlit 1.34 breaks Antd Components #54

Open alicjagrocholska opened 5 months ago

alicjagrocholska commented 5 months ago

Hello, and thanks for your component, I'm using the custom menu, but it seems the new version of streamlit breaks andt components:

TypeError: compute_widget_id_ext() got an unexpected keyword argument 'name'

Traceback:

sac.menu([
File "C: blah bla blah streamlit_antd_components\utils\component_func.py", line 62 in component
    return component(id=get_func_name(), kw=kw, default=default, key=key

I hope you can fix it, for now I will downgrade and stay in streamlit 1.33 Thanks in advance!

Socvest commented 4 months ago

Hey, @nicedouble this pretty much fixes it.