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 ??
Asked
Active
Viewed 18 times
2

juliomalves
- 42,130
- 20
- 150
- 146

Jaacoubi
- 31
- 2