I am trying to use the code sample for the JavaScript SDK code sample using a filter at this link:
ArcGIS JavaScript SDK FilterByAttributes
I changed the data source to my own AGOL hosted feature layer and changed the category filter list items in the filter div; however, when I click on one of the categories all of the features disappear.
MyFilterSample
I haven't changed references in variable names and other placeholder code yet and the CSS still needs to be refined to fit my list. Just trying to get the basic filter function to work at this point.
Thank you.