react-bootstrap-table icon indicating copy to clipboard operation
react-bootstrap-table copied to clipboard

Search is not trimming

Open sergionader opened this issue 5 years ago • 1 comments

Hey!

Let's say one of the columns has the words Free Ads. If I search for fre, it will filter the row(s) if I search for ad, it will filter the row(s) However, if the user types a space after or before the above searches, it won't bring any results. The source code seems to have some searchText.trim() in it, but it does not seem to help in those cases.

How can I trim what the user is typing?

Thanks in advance,

Sergio

sergionader avatar Jul 14 '20 20:07 sergionader

Hi Sergio,

Do you have fixed this error?

ttnghia195 avatar Jan 19 '21 07:01 ttnghia195