I've created a custom data connector which gathers data from a REST API. I would now like to extend this to give the user more control over what exactly is being returned. I'm thinking something like a radio button or drop-down, which disables certain fields and enables others. Similar to the Basic/Advanced feature on the OData Feed connector (only with x/y/z instead).
I know how to get the drop-down, but cannot find any information on radio-buttons or how to enable/disable fields in the UI.