✨Discover storytelling in the AI age with Pixar's Matthew Luhn at Sanity Connect, May 8th—register now

Is it possible to have a drop down that present a choice between two different types? Like a string and an image? Would it need to be an array?

2 replies
Last updated: Feb 3, 2021
Is it possible to have a drop down that present a choice between two different types? Like a string and an image? Would it need to be an array?
Feb 2, 2021, 11:50 PM
Yeah, I use arrays when I need to do this. You can create the types, and then reference them.
Feb 3, 2021, 12:08 AM
I see, thanks.
Feb 3, 2021, 12:45 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?