Joint session with Vercel: How to build intelligent storefronts (May 15th)

Dropdown field not showing in Sanity schema

8 repliesLast updated: Nov 29, 2025

Hi. I have an issue that I cant understand.In a schema i have this field

    {
      title: 'Image Position',
      name: 'imagePosition',
      type: 'string',
      options: {
        list: [
          {title: 'Left', value: 'left'},
          {title: 'Right', value: 'right'},
        ],
      },
    },
AI Update

I can see you've shared a field definition with a string type that has an options.list property. While you mentioned you have an issue, you didn't specify what the problem is. Let me help you understand how this field works and address common issues people encounter with this pattern.

Your field definition looks correct for creating a dropdown/radio button selector in Sanity Studio:

{
  title: 'Image Position',
  name: 'imagePosition',
  type: 'string',
  options: {
    list: [
      {title: 'Left', value: 'left'},
      {title: 'Right', value: 'right'},
    ],
  },
}

This creates a string field that will render as a dropdown or radio buttons (depending on the layout) in the Studio, allowing editors to choose between "Left" and "Right".

Common issues with this pattern:

Could you share more details about what's not working as expected? For example: Is the field not appearing in Studio? Are you getting unexpected values when querying? Is there an error message?

Show original thread
8 replies

Was this answer helpful?

Sanity – Build the way you think, not the way your CMS thinks

Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.

Related contributions