Black Lives Matter. Please consider donating to Black Girls Code today.

Filtering example in Dash Datatable Documentation -- remove "contains" text

In the advanced filter usage section…

… the example allows you to read and write to the filter directly. If I type United in the country column header then read the filter, the result is:

filter_query = "{country} contains United"

If I write to the filter and put this same text in, the column header literally says contains United

Is there any way to make it so the column header just says United? If I use {country} United for the filter value it doesn’t filter at all.

I’ve attached a screenshot to demonstrate what I’m referring to.