07-19-2023, 03:21 PM
I am trying to display objects based on two options, `isLinear` or `isHex` when one of these is selected then I will display the corresponding object on Sanity.
if `isLinear` is selected then I display the degree, the color hex, the percentage inputs etc..
and if it's `isHex` I will display only the color hex input.
How can I do this in my schema ??
if `isLinear` is selected then I display the degree, the color hex, the percentage inputs etc..
and if it's `isHex` I will display only the color hex input.
How can I do this in my schema ??