Get Free Trial

Set filter not working with emails

Luis asked on September 24, 2021

Hi, Im trying to use the setFilter function on an email column, but it doesn’t seem to work with emails.
A simple way to reproduce the issue Im having is going to
and replace the value of the filters in lines 16 or 17 with an email.
The error shown is “Error in predefined filter or members have not been loaded yet: .com” 
Is there any way to escape the string? 
Thanks in advance.

1 answer

Nadia Khodakivska Nadia Khodakivska Flexmonster September 27, 2021

Hello, Luis, 
Thank you for contacting us.
The error you have mentioned is just a message in the console. It notifies you, that you try to reach the non-existent members in the setFilter function. Also don’t forget to use the column name in the Filter object, for example:

    "members": [

We hope it helps. You are welcome to write to us in case further questions arise.
Kind regards,

Please login or Register to Submit Answer