Open asohn opened 5 years ago
https://github.com/IAmNithi/multiselect-dropdown-react/blob/855a6bb6bf14032ae19347442b499952a04c6f47/src/index.js#L40
With enteredValue converted to lowercase on Line38, Line 40 is better written as return data.name.toLowerCase().indexOf(enteredValue) > -1;
enteredValue
return data.name.toLowerCase().indexOf(enteredValue) > -1;
Hi @asohn , I'm currently Working on it with the latest dependencies. I will Close it ASAP.
https://github.com/IAmNithi/multiselect-dropdown-react/blob/855a6bb6bf14032ae19347442b499952a04c6f47/src/index.js#L40
With
enteredValue
converted to lowercase on Line38, Line 40 is better written asreturn data.name.toLowerCase().indexOf(enteredValue) > -1;