AllenFang / AllenFang/react-bootstrap-table

Search is not trimming

オープン
#2,117 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
2.2k
フォーク
761
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。