cisco-sbg-ui / magna-react

magna-react.vercel.app
5 stars 0 forks source link

`AMultiSelect` - Filtering by capital letter does not return any results #472

Closed radesai21 closed 1 year ago

radesai21 commented 1 year ago

Describe the bug When entering a capital letter when searching for an option in the multiselect there are no results returned when there should be.

To Reproduce Steps to reproduce the behavior:

  1. Go to magna playground for MultiSelect -> https://magna-react.vercel.app/components/multiselect
  2. In the first example, search for M
  3. Notice theres a message saying No matches found when there should be the Milk, Yogurt, and Cheese option displayed

Expected behavior AMultiSelect's default filtering behavior should be able to handle capital letters.

Screenshots

https://github.com/cisco-sbg-ui/magna-react/assets/95231401/4b25e42c-3c30-4894-8caa-2009c8d37615

Environment (please complete the following information):

Additional context DI is dependent on AMultiSelect for many parts of User Insights

rwharrisjr commented 1 year ago

Added in locale compare https://github.com/cisco-sbg-ui/magna-react/pull/473