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

Does Solara has a time selection element ? #411

Open
mobvarun opened this issue Dec 2, 2023 · 2 comments
Open

Does Solara has a time selection element ? #411

mobvarun opened this issue Dec 2, 2023 · 2 comments

Comments

@mobvarun
Copy link

mobvarun commented Dec 2, 2023

First of all, thank you for providing a great library.
I was going through the solara documentation - (https://solara.dev/api/input_date) but I could not find any option to selection of time.

Is there any option to do so via solara (where in I can select the time as well, and time ranges)

@robot144
Copy link

robot144 commented Dec 3, 2023

I just a starting user of Solara, but I can give a few thoughts on the theme. There is a dateslider in solara and there are sliders for integers and floats, so you can easily create a new slider to your liking. Here I tried a DateTime slider https://github.com/SALTISolutions/wetwin/blob/main/wetwin/wt_widgets.py
Do you want a fixed timestamp, a list of times, any time?

@iisakkirotko
Copy link
Collaborator

Hi!

We don't have an element for selecting times (yet). In the meantime, feel free to take a look at using the vuetify time picker. You can incorporate this into your application by using solara.v.TimePicker.

Hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants