-
Goal: Use client side filtering in a table component with Phone Numbers.
-
Steps:
Add to the filter stack using setFilterStack and the array of keys and comparison operators using something like:
[{
columnId:'cus_phone',
operator: 'includes',
value: {{self.value}}
}]
If the column of the table is set to display as Phone, this will break the filtering capability, without any error messages. Filtering on all columns will not work, not just the phone number one.
- Details:
The work around for this is to format the phone number field as String.