Ive been deconstructing the class breaks visualisation sample, to try get the sizeRendererCreator running using a HTML field selection as the variable.
<div id="infoDiv" class="esri-widget">
<select id="field-select" class="esri-widget">
Unfortunately, while it works fine on the first selection (sulfur), it fails on the 2nd and 3rd. if I juggle the fields so they are at the top of the list, the sizes work fine. Given that, it seem that a) the selected variable isnt being handed off to the jscript correctly, or b) the renderer is being created.
Ive compared the code (https://codepen.io/kurtj/pen/oqmdrZ?editors=1000 ) to the original and for the life of me I cant see what i have done wrong.
Its likely something simple. Any suggestions would be great.