This is my json schema
selected_teeth_to_treat: {
type: “string”,
label: “Select teeth to treat”,
isRadioGroup: true,
enum: [“one”, “two”, “three”, “four”],
},
class_correction: {
isRadioGroup: true,
type: “string”,
label: “Class Correction”,
enum: [“xxxx”, “yyyy”, “zzzz”],
},
And this is my uiSchema
{
type: “Control”,
scope: “#/properties/selected_teeth_to_treat”,
},
{
type: “Control”,
scope: “#/properties/class_correction”,
rule: {
effect: “HIDE”,
condition: {
scope: “#/properties/selected_teeth_to_treat”,
schema: {
enum: [“four”],
},
},
},
},
On clicking four , I have to hide the class_correction schema
But I didn’t see any changes in the UI on using hide property in UI schema