ComboBox custom filtering (ignoring fuzzy search)

0
We're having a problem where we want to use the combo box as an address search using our own Locator APIs. This is working 90% now that combo boxes allow us to capture the filter input, BUT the combo box does fuzzy searching on the result after the fact, so it excludes choices that were returned by the Microflow.For example: "5 East Main" as a search parameter would return "5 E Main St" which would then get filtering out by the fuzzy search because it doesn't have "east" in the string.We also tried using just a text input with a gallery for displaying the results but the visibility conditions on when to show or hide the box get a bit wonky and we can't get it to display cleanly.I can't imagine we're the only one trying to do something like this, but we're looking for clean alternatives that still feel good, usability wise.
asked
1 answers
0

Hi Shalimar,


I suspect the key detail here is the Combo Box's filter type.


Since you're already using On filter input change to query your locator service, I'd be interested to know which local filter setting you're using:

  • Contains (fuzzy)
  • Contains (exact)
  • Starts with
  • None


From your description, it sounds like the locator API is already returning the correct result (5 E Main St), but the result is being removed afterwards. If that's the case, I wonder whether the Combo Box's client-side filtering is conflicting with the matching logic used by your locator provider.


Have you already tested the different filter modes, especially None? Since the external provider is already responsible for finding matches, additional local filtering may not provide much value and could potentially explain why valid address suggestions are excluded.


Also, can you confirm whether the result is visible in the datasource before the Combo Box displays the options?


I hope this helps narrow down the root cause. If you can share the filter mode you're using, it may help identify whether this is a configuration issue or a limitation of the current Combo Box behavior.


Best regards,

Oswaldo Valles

answered