Answers from the community about Conditional fields

Some of the conversations between community members on questions, suggestions and tips for using Sanity. Join our Discord to be a part of it.

TopicCategoriesFeaturedRepliesLast Updated
Why does my function return undefined?7Aug 23, 2022
How to get current user information (userid) in Sanity client?4Jul 7, 2022
Conditionally hide array item type based on document field value4Jun 28, 2022
Check if field is hidden to conditionally make it required20Jun 1, 2022
Using Sanity as middleware to edit database query results6Mar 29, 2022
How to avoid nested parent queries and generate full slug path in Sanity?6Mar 10, 2022
Can't find i18n fields in GraphQL after deploying document-internationalization plugin59Mar 8, 2022
Critical immer vulnerability in @sanity/desk-tool - update to 9.0.6?17Jan 19, 2022
Custom input for dynamic price variants based on size and media combinations5Dec 13, 2021
Sanity Search Returning 400 Error with Invalid Character Issue14Dec 6, 2021
Can't log in to Sanity Studio - "Not authorized" despite being owner10Nov 16, 2021
Disable custom document action until validation errors are fixed15Oct 1, 2021
How to access parent field in custom input component like conditional hidden?10Sep 28, 2021
How to select multiple items from a reference field dropdown in Sanity?14Sep 3, 2021
Delegate schema preview to field's preview in Sanity6Aug 27, 2021
Conditional field validation based on another field value in Sanity4Aug 26, 2021
Custom grid UI for multi-type reference array selection in Sanity Studio4Aug 25, 2021
How to Build a Table in Sanity: Is sanity-react-table the Right Approach?35Aug 24, 2021