🔮 Sanity Create is here. Writing is reinvented. Try now, no developer setup

Sanity UI looks brilliant 😃 Is something like the current date picker possible at the moment? I’m not sure if an icon can be used within a select element, which is how the...

3 replies
Last updated: Dec 21, 2020
Sanity UI looks brilliant 😃 Is something like the current date picker possible at the moment? I’m not sure if an icon can be used within a select element, which is how the Sanity studio is styled.
Dec 20, 2020, 1:05 PM
We're in the midts of refactoring all the input sin the studio with Sanity UI. I'm not 100% sure it's 100% done, but here's the new and accessible one: https://github.com/sanity-io/sanity/blob/ui%2Fnext/packages/%40sanity/form-builder/src/inputs/DateInputs/base/DateTimeInput.tsx
Dec 20, 2020, 1:21 PM
These inputs will also be documented btw
Dec 20, 2020, 1:21 PM
Ahhh brilliant thank you Knut!
Dec 21, 2020, 9:13 AM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?