Copy/paste to general search field
Copy/paste to general search field
I am experiencing a seemingly random issue where spaces will be removed from clipboard text when pasting the text to the general search field in the upper right corner of the data table. For example, the following text,
a • b • c
may get pasted as the following slightly modified text:
a •b • c
Notice that the space between the bullet and the 'b' was removed. I wonder if anyone else has experienced this issue.
Thanks!
This discussion has been closed.
Answers
I tried multiple times to paste
a • b • c
into the search field of this example and it seems to work correctly:https://datatables.net/examples/basic_init/zero_configuration.html
Does it work for you?
If the example works can you post a link to your page or a test case replicating the issue?
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
I think the issue is more with the source of the copied text. I am copying the text from a PDF. It seems that the space is removed at that point rather than by the data table.
It would also be worth trying the paste into an external site, say google perhaps, as I suspect the same problem would happen there.