Accessing root document properties in custom input element in Sanity.io
Last updated: Aug 19, 2020
I have a custom input. Now I want to differ the available options it presents based on properties in the root document being edited. Is this possible? E.g. can I somehow access the root document inside a custom input element?