Skip to content
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

FilterDataTable whitespace collapsing problems #8385

Open
driusan opened this issue Feb 20, 2023 · 0 comments
Open

FilterDataTable whitespace collapsing problems #8385

driusan opened this issue Feb 20, 2023 · 0 comments
Labels
Category: Bug PR or issue that aims to report or fix a bug Language: Javascript PR or issue that update Javascript code

Comments

@driusan
Copy link
Collaborator

driusan commented Feb 20, 2023

The FilterableDataTable can cause confusion if the data in the table contains multiple consecutive whitespace characters. The table cell will collapse the whitespace to a single space as per HTML whitespace-collapsing rules, but searching for the string containing a single space will not match the result.

For instance, if a cell contains a b it will be rendered as "a b" but searching for a b will not match the row because the data is a b and not a b

@driusan driusan added Category: Bug PR or issue that aims to report or fix a bug Language: Javascript PR or issue that update Javascript code labels Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Bug PR or issue that aims to report or fix a bug Language: Javascript PR or issue that update Javascript code
Projects
None yet
Development

No branches or pull requests

1 participant