# Hide and show not working on using Radio group

**URL:** <https://jsonforms.discourse.group/t/hide-and-show-not-working-on-using-radio-group/1683>\
**Category:** General\
**Created:** [August 22, 2023, 12:56pm UTC](https://jsonforms.discourse.group/t/hide-and-show-not-working-on-using-radio-group/1683 "2023-08-22T12:56:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanjay251996](https://yyz2.discourse-cdn.com/free1/user_avatar/jsonforms.discourse.group/sanjay251996/32/812_2.png) [@sanjay251996](https://jsonforms.discourse.group/u/sanjay251996)\
**Post date:** [August 22, 2023, 12:56pm UTC](https://jsonforms.discourse.group/t/hide-and-show-not-working-on-using-radio-group/1683/1 "2023-08-22T12:56:26Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sdirix](https://yyz2.discourse-cdn.com/free1/user_avatar/jsonforms.discourse.group/sdirix/32/1073_2.png) [@sdirix](https://jsonforms.discourse.group/u/sdirix)\
**Post date:** [August 22, 2023, 10:02pm UTC](https://jsonforms.discourse.group/t/hide-and-show-not-working-on-using-radio-group/1683/2 "2023-08-22T22:02:23Z")

</div>

Hi @sanjay251996,

We don’t support neither `isRadioGroup` nor `label` as part of the JSON Schema with our offered renderer sets. You must be using a custom renderer set.

![hide-enum](https://global.discourse-cdn.com/free1/uploads/jsonforms/original/1X/853bc2628dfe8b7e5167be9496ebff8b0939ef95.gif)

Using our Material renderer set this works out of the box. My guess is that the radio group custom control does not properly respect the `visible` prop handed over to it. Please check the code and adapt as necessary.
