node-autocomplete icon indicating copy to clipboard operation
node-autocomplete copied to clipboard

Can't autocomplete term that contains search string

Open mosofsky opened this issue 8 years ago • 0 comments

The current version seems to support matching a search string to a term based only if the term begins with the search term. It would be useful if it could also match a term that contains the search term.

Scenario: Term begins with search string Given the term 'legal sea foods' When the user searches for 'legal sea' Then 'legal sea foods' should be returned as a match [PASS]

Scenario: Term contains search string Given the term 'legal sea foods' When the user searches for 'sea foods' Then 'legal sea foods' should be returned as a match [FAIL]

mosofsky avatar Jan 10 '18 19:01 mosofsky