You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The text was updated successfully, but these errors were encountered:
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:
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.
The text was updated successfully, but these errors were encountered: