Skip to content

Change suggested results #602

@gravitymedianet

Description

@gravitymedianet

Version

Steps to reproduce

I have set up my PHP backend server to parse the search string for a react-bootstrap-typeahead request that is async. For example, if I search "bottle black", it will also find "black bottle". The problem is when the results come back to the typeahead, it shows 0 results in the COMPONENT list, even though the JSON response DOES have a result, because the order of the words do not match what the user entered.

Expected Behavior

0 results, although the JSON response shows results.

Actual Behavior

The question is how to modify the component so that it will show results based on individual word matches vs. the entire string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions