I'm modifying geoprocessing Widget.js to create cascading drop down menus. I'm attempting to attach a listener to one of the menus. I'm doing this towards the bottom of the _createInputNode method.
if(param.name == "Habitat_type"){
console.log("attach listener");
on(inputEditor, "change", lang.hitch(this, this.selectChange));
}
"attach listener" shows in the console but when I change the drop down selection the selectChange method doesn't run.
Thanks for the help!