[BUG] Choices.js Select Dropdown component outputs wrong results in static search
Describe the bug When searching in the select dropdowns filtering by a single character the results do not filter well, sometimes other values come up that do not even contain that letter. However this behavior does not occur when searching >= to two characters.
Version/Branch Formiojs v5.0.1, also tried in latest 4.X.X version.
To Reproduce Steps to reproduce the behavior:
- Open a form that contains a drop-down “select” type component and consumes JSON data from an external url.
- Enable static search in select component with a default Threshold of 0.3 (also tried with 0.0). Then save.
- Display a drop-down in formio renderer and type one character in the search box.
- Observe the results displayed in the selector.
Expected behavior Results containing that character are displayed and no results are displayed if the search does not match.
Screenshots

Additional context The bug also occurs in https://formio.github.io/formio.js/app/examples/select.html "External source" example, when you search "s", some results like Accord, Civic... are displayed.
I've also tried settings choices.js settings with a "searchFloor": 0, but it keeps happenings with some characters like "s", while others like "m" don't fail.
@celu Thank you for reporting this issue. I am able to reproduce and have logged a ticket for the backlog. We are always willing to review any contributions to resolve this issue from the open source community.
For internal reference: FIO-10927.
We were able to work around this in the application by unchecking the Use exact Search property on the component, or removing the "useExactSearch": true, property from the component json.