Unable to Hide/Show or Disable a radio button

Here is my code.
{
kind: "onyx.RadioGroup",
classes: "inline radiogroupBtn",
onActivate: "mapSelected",
components: [{
content: "Topology",
classes: "viptelaMapButton",
name: "topologyMap",
active: true
}, {
content: "Geography",
classes: "googleMapButton",
name: "geoMap"
}]
}
On a certain event, I am trying to do either hide or disable by using the following function

geoTopologyUpdated: function() {
this.$.geoMap.setDisabled(!AppModel.geoTopologyEnabled);
this.$.geoMap.setShowing(AppModel.geoTopologyEnabled);
},

But it doesn't work. I actually even tried to just write disabled: true in the button but that doesn't work as well. Is there a known bug?

Comments

Sign In or Register to comment.