-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filter: Does not work with space #7529
Comments
I have the same issue... going back to the previous version "10.8.4" is a temporary fix. |
Have a feeling it was this fix: #7451 |
In version “10.8.3”, this problem also occurs. |
@wmortume are you saying it works in 10.8.4 but @ViniciusLima7 says it doesn't so is this NOT a new issue? |
@melloware I'm only seeing the issue in "10.8.5". It works on "10.8.4" and "10.8.3" for me. |
In version “10.8.4” I haven't tested it, but in version “10.8.3” the problem also occurs, but it depends on the environment, in developer mode it works fine in version “10.8.3”, but in the staging environment it doesn't work for some reason. I'd have to investigate Primereact's native code to be sure. I believe that solving this problem in the latest release is already fine. |
Thank you very much @melloware for fixing the problem so quickly. I just have one question: will this fix come in the next version, 10.8.6? |
I marked it for 10.8.6 yes |
Thank you |
Describe the bug
When using a filter from the Table and trying to search for a compound word containing spaces, the Filter does not recognize spaces
Example: When trying to search for “ABC DEF” the input displays “ABCDEF” , completely ignoring the space.
Below is a link to the documentation itself to reproduce the problem in the Name column.
Reproducing the Error:
https://stackblitz.com/edit/s978vv5g?file=src%2FApp.jsx
Apparently, there is a conflict between the sortable and filter props. When you remove the sortable prop from the Name column, the space works again in the filters.
The ideal solution is for these two props to work together without this problem
Reproducer
https://stackblitz.com/edit/s978vv5g?file=src%2FApp.jsx
System Information
Steps to reproduce the behavior
Go to this url: https://stackblitz.com/edit/s978vv5g?file=src%2FApp.jsx then try to filter using space, preferably the Name or Country column.
Expected behavior
The ideal solution is for these two props to work together without this problem of the filter with space.
The text was updated successfully, but these errors were encountered: