Page 1 of 1

Datatable and global filter issue

Posted: 16 Mar 2017, 15:39
by tllorca
Hello,

I'm trying to apply a globalfilter on a primeui datatable but I have the following issue.

When typing lowercase letters globalfilter works fine but when I start typing capital letters using "shift key" or "caps key" global filter does not works.

Do you have any idea?

On PrimeUI demo showcase this issue already occurs.

https://www.primefaces.org/primeui/#datatableFilter

Thanks!

Re: Datatable and global filter issue

Posted: 15 Mar 2018, 23:41
by bhamlin3
A little late, but I discovered the issue. The values in the table are set to lower case when a filter occurs. However the value put into the global filter is not being set to lower case, which is why you can't match on an uppercase letter (despite being able to do this on a regular column filter).

For a workaround you can do something like this:

https://stackoverflow.com/questions/141 ... lower-case