Radio button options attribute

Hi Team ,

I am using below radio view before to that i am building “jsonRadioObj” data and assigning it to options as shown below.

In some cases i dont want to show any options in radio view how can i handle it , i tried making jsonRadioObj null and empty, it gives error.

{ view:“radio”,id:“radio_id”, name:“Available slots”,label:“Available slots”, options:jsonRadioObj},

There is no way to render radio control without options ( it doesn’t have sense )

If you need not the form section you can just remove it from config or set hidden:true to hide it.