Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # 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
Bug PR or issue introducing/requiring bug fixes (not mutually exclusive with the Feature label) javascript Pull requests 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 Bug PR or issue introducing/requiring bug fixes (not mutually exclusive with the Feature label) javascript Pull requests that update Javascript code labels Feb 20, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Bug PR or issue introducing/requiring bug fixes (not mutually exclusive with the Feature label) javascript Pull requests that update Javascript code
Projects
None yet
Development

No branches or pull requests

1 participant