What should I use for creating an Input & DatePicker in the same field? #2805
Replies: 1 comment 6 replies
-
The above input experience looks like it fits SearchAutocomplete, of which the component and its accompanying aria hook are still in alpha so we don't quite have docs for them yet and the api is subject to more possible change. I'm unfamiliar with "Things for Mac", what would clicking on those options do? Does it just fill out the field with the text value or would it open a Datepicker modal? As for the list of items, you can have full control over what is shown via the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
If you've used Things for Mac, you've seen the autocompletion time input that looks like:
I want to create something similar. It will have 1 input field where I can type
in 2 hours
& it will show the time below like the above pic.I also want to make it show datepicker below the timebox like below
February 12
&in 12 days
.Timebox on top (if I'm typing a nlp input) & Datepicker on bottom.
Which components should I use? This looks like Combobox & Datepicker but Combobox doesn't have arrow button & idk if the list of items can keep changing like from a client-side api so curious?
Beta Was this translation helpful? Give feedback.
All reactions