Mohamed-512 / Extra-Streamlit-Components

An all in one place, to find complex or just not available components by default on streamlit.
Apache License 2.0
466 stars 59 forks source link

Is it possible to set default value for step bar? #33

Open Pudiyang opened 1 year ago

Pudiyang commented 1 year ago

Thanks for making these amazing tools, They are really helpful!

I noticed that the default value of the step bar is set to 0. Is it possible to allow us to modify it?

Mohamed-512 commented 1 year ago

Technically it's possible. But it would need an update to the package which will take me some time to start implementing. If you would like, please open a PR for that change and I would gladly approve & merge it.

chatchatbio commented 11 months ago

A default value programar is essential. And when the last value is clicked, how can it be changed to a finished symbol?

CHerSun commented 11 months ago

StreamlitAntDComponents might be of use. See demo at https://nicedouble-streamlitantdcomponentsdemo-app-middmy.streamlit.app/ - Steps component - same meaning, allows disabled / initial step

renatoeco commented 11 months ago

I couldn't find how to set the initial step using AntD Steps component. Anybody know how to do this?

CHerSun commented 11 months ago

@renatoaraujods Not really the place for questions about another project.

screenshot

renatoeco commented 11 months ago

Sorry. Thank you!