Conditional Fields

Published: August 26, 2021

v2.17.0
Sanity Studio

A lot of you have been waiting for this for a while: A way to show and hide fields based on the value of some other field. The wait is over! In this release of the Sanity Studio the hidden field has been upgraded to take a callback function.

Conditional Fields with dropdown
Conditional Fields with dropdown

Get more code examples and read more about the details in our docs.