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.io: Get the most out of your content

Sanity.io is a platform to build websites and applications. It comes with great APIs that let you treat content like data. Give your team exactly what they need to edit and publish their content with the customizable Sanity Studio. Get real-time collaboration out of the box. Sanity.io comes with a hosted datastore for JSON documents, query languages like GROQ and GraphQL, CDNs, on-demand asset transformations, presentation agnostic rich text, plugins, and much more.

Don't compromise on developer experience. Join thousands of developers and trusted companies and power your content with Sanity.io. Free to get started, pay-as-you-go on all plans.