Use Combobox as a custom Time/Datepicker Component #2380
Unanswered
timheerwagen
asked this question in
Help
Replies: 1 comment 4 replies
-
Hi, may i ask why do you need to use Combobox if you want to render the native calendar ??? Just use regular input with the type="time" or "date" |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First of all, thanks for the great library, I've been a big fan for a long time.
My question is if it is possible or recommended to use a combobox as a custom time/datepicker?
I have tried to give Combobox.Input type="time", but this errors directly at the input.
I don't need any options like with autocomplete, but it would be sufficient to have a popover appear where selections can be made, but not necessarily lose focus from the input. The rest of the logic i can handle by myself inside this container.
However, I have already tried this with a popover, but then I can no longer make an entry in the input when I click.
Thank you very much for your help!
Beta Was this translation helpful? Give feedback.
All reactions