The search component in 4.34 does not seem to honor exactMatch:False. It will only honor it if the search is in the first characters. Say I am looking for "Driscoll" if I search 'ris' it will not come up, but if I do 'Dri' it will.
In 4.34 the exactMatch: false → prefix only. Where in 4.21 it's like: LIKE '%ris%'
// Wait for your view to be ready
const quickSearch = document.getElementById("quickSearch");
await quickSearch.componentOnReady();
// Assign the map view
quickSearch.view = view;
// Configure only your parcel layer sources
quickSearch.sources = [
{
layer: parcelLayer,
searchFields: ["PartyName_1"],
name: "Search by Owner",
exactMatch: false,
outFields: ["PartyName_1"],
displayField: "PartyName_1",
suggestionsEnabled: true,
},
{
layer: parcelLayer,
searchFields: ["PropertyAddress"],
name: "Search by Address",
outFields: ["PropertyAddress"],
displayField: "PropertyAddress",
exactMatch: false,
},
{
layer: parcelLayer,
searchFields: ["QuickRefID_1"],
name: "Search by Quick Reference ID",
outFields: ["QuickRefID_1"],
displayField: "QuickRefID_1",
exactMatch: false,
}
];