fiduswriter / simple-datatables

DataTables but in TypeScript transpiled to Vanilla JS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] searchQuerySeparator not working via CDN

arcangelochine opened this issue · comments

  • I have looked through the documentation to try to see if this behavior is documented.
  • I have looked at the demos to see if one of them handles this, but none of them did.

When setting the searchQuerySeparator in the options of DataTable it does not behave like it supposed to be.

Here https://jsfiddle.net/mx10gnfe/ if you input "QWE ASD" in the search bar, you get the first 2 rows while you should only get the first one. Also, I think that inputing "QWE, ASD" should output the first 2 rows, since I set the searchQuerySeparator to be ",".

@arcangelochine You are using version 6.0.8. That version has been out of date for a long time. We are currently at version 9. Please update to the current version and file a new bug if this issue persists.

It works perfectly if you use a current version (https://cdn.jsdelivr.net/npm/simple-datatables@9)