AllenFang / AllenFang/react-bootstrap-table

Search is not trimming

Abierto
#2,117 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
2.2k
Forks
761
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.