Question T16446
Visible to All Users

Drop-Down Incremental Search

created a year ago

By default the incremental search in the drop-down returns all choices by using a partial string match. In the example below if the user types "A" in the search box, the drop-down displays any option that includes the letter A. This is counter-intuitive as most search boxes across the internet would return values that START WITH "a".

Is there a way to accomplish this type of search?

Clipboard-File-1.png

Answers approved by surveyjs Support

created 7 months ago

Hello,
You can enable the Starts With search mode using the following option: searchMode.

Let us know if you have further questions.

    created a year ago

    Hello,
    Unfortunately, the Dropdown question only searches for text in "contains" mode, and doesn't support other search methods.

    Let me know if you have more questions.