Hello, that prop named CaseSensitive doesn't work. I tried to put this prop into component SearchInput, and this failed. Unless I comment out this lines with these code, this React-Search-Input doesn't detected any letter which was in the Upper Case .. so here is a invalid code.
This code I commented out:
Source: https://github.com/enkidevs/react-search-input/blob/master/src/util.js
Code:
if (!options.caseSensitive) {
term = term.toLowerCase();
}
And as like by magic, this suddenly works: it becames CaseSensitive.
Thanks for the fix :)
Hello, that prop named CaseSensitive doesn't work. I tried to put this prop into component SearchInput, and this failed. Unless I comment out this lines with these code, this React-Search-Input doesn't detected any letter which was in the Upper Case .. so here is a invalid code.
This code I commented out:
Source: https://github.com/enkidevs/react-search-input/blob/master/src/util.js
Code:
if (!options.caseSensitive) {
term = term.toLowerCase();
}
And as like by magic, this suddenly works: it becames CaseSensitive.
Thanks for the fix :)