Does not support numeric value if it is brackets
sandyksit opened this issue · 1 comments
sandyksit commented
Your issue may already be reported! Please search on the issue tracker before creating one.
Expected behaviour
It should search any text and numeric
Current behaviour
As per current behavior its searching only text its not searching numeric if its in brackets(1234)
Steps to Reproduce
Steps to reproduce the problem:
- put item in the list like 'name (1234)
- start search like 1234
- its not searching the tag
- its searching only when use brackets with number
Your environment
- OS: [e.g. Windows 10]
- Browser: [e.g. chrome 76, safari 12]
- Version of the component: [e.g. 5.11.2]
- React version: [e.g. 16.12]
Additional context
Add any other useful context about the problem here.
i-like-robots commented
You may use the suggestionsFilter
or suggestionsTransform
props to replace the partial match pattern or filtering logic.
The default pattern is here - if you find a pattern that suits you I'd be happy to accept a PR updating it 🙂