I would like to remove the default symbology of the polygon selection result of the Search widget. I'm doing this within some custom code utilizing the aspect.around module accessing the _onSearchResults function of the Search widget.js file; however, I'm unable to get this to fully work. Below is my aspect.around module which is within a function where the widget gets passed in.
Any help or thoughts would be appreciated.
aspect.around(widget, '_onSearchResults', lang.hitch(this, function(originalMethod) {
return lang.hitch(this, function() {
var features, feature, layer, queryLayer, queryLayerUrl, queryTask, query, pt;
features = [];
feature = null;
if (arguments) {