When using the Search Widget with a local geocoding service an incorrect query string is sent if the singleLineFieldName is not defined. "Single Line Input" is sent while "SingleLine" is the correct parameter name.
Example of poorly formed geocode request: .../arcgis/rest/services/Locators/AddrComposite/GeocodeServer/findAddressCandidates?Single%20Line%20Input=808%20W%20Spokane%20Falls%20Blvd%2C%20Spokane%2C%20WA&f=json&outSR=%7B%22latestWkid%22%3A3857%2C%22wkid%22%3A102100%7D&magicKey=GST7YMc0AM9UOsEmObpaISTUYbTA1hp0&maxLocations=6
Property Defined:
sources <SPAN class="operator token">=</SPAN> <SPAN class="punctuation token">[</SPAN><SPAN class="punctuation token">{</SPAN>
locator<SPAN class="punctuation token">:</SPAN> <SPAN class="keyword token">new</SPAN> <SPAN class="token class-name">Locator</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">{</SPAN> url<SPAN class="punctuation token">:</SPAN> <SPAN class="string token"><SPAN>"</SPAN><A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fgis.spokanecounty.org%2Farcgis%2Frest%2Fservices%2FLocators%2FAddrComposite%2FGeocodeServer" target="_blank">https://gis.spokanecounty.org/arcgis/rest/services/Locators/AddrComposite/GeocodeServer</A><SPAN>"</SPAN></SPAN> <SPAN class="punctuation token">}</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">,</SPAN>
name<SPAN class="punctuation token">:</SPAN> <SPAN class="string token">"AddrComposite"</SPAN><SPAN class="punctuation token">,</SPAN>
placeholder<SPAN class="punctuation token">:</SPAN> <SPAN class="string token">"search addresses"</SPAN><SPAN class="punctuation token">,</SPAN>
singleLineFieldName<SPAN class="punctuation token">:</SPAN> <SPAN class="string token">"SingleLine"</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="comment token">//Property Defined </SPAN>
<SPAN class="punctuation token">}</SPAN><SPAN class="punctuation token">]</SPAN><SPAN class="punctuation token">;</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>Example of correct request after property is defined:
.../arcgis/rest/services/Locators/AddrComposite/GeocodeServer/findAddressCandidates?SingleLine=808%20W%20Spokane%20Falls%20Blvd%2C%20Spokane%2C%20WA&f=json&outSR=%7B%22latestWkid%22%3A3857%2C%22wkid%22%3A102100%7D&magicKey=GST7YMc0AM9UOsEmObpaISTUYbTA1hp0&maxLocations=6