I am new to GIS and hopefully this is the right user group to point in the right direction. I have successfully display data on the map from CSV format, but I have issue trying to implement Search. According to Esri document, CSVLayer inherits from FeatureLayer but I suspect it doesn't support Search. I am getting this error:
error: Error: FeatureLayer::_query - query contains one or more unsupported parameters at Object._query (https://js.arcgis.com/3.30/init.js:2279:447) at Object.queryFeatures (https://js.arcgis.com/3.30/init.js:2239:228) at Object.<anonymous> (https://js.arcgis.com/3.30/esri/dijit/Search.js:57:380) at https://js.arcgis.com/3.30/init.js:64:337 at m (https://js.arcgis.com/3.30/init.js:108:248) at k (https://js.arcgis.com/3.30/init.js:108:174) at e.resolve (https://js.arcgis.com/3.30/init.js:110:267) at Object.<anonymous> (https://js.arcgis.com/3.30/esri/dijit/Search.js:34:69) at Object.<anonymous> (https://js.arcgis.com/3.30/init.js:64:337) at Object.<anonymous> (https://js.arcgis.com/3.30/init.js:124:260)
Any suggestions or workaround? I want to give the user an option to search for their data. Thanks for your help.