I am developing a custom widget using WAB. Below is a snippet on what the UI will look like
The controls if the red box are dynamic in the sense that they are controlled by the 2 radio buttons above. The controls shown are relevant when the Boundary radio button is selected. However, when the user selects the Site radio radio button I would like to remove these controls and replace them with controls that are relevant to the Site option.
Currently I have these controls in html template file in a div
<table style="width:100%;">
<tbody>
<div data-dojo-attach-point="myDynamicDiv">
<tr>