Tabulator header_filters change after display not working

Tabulator has a header_filters that works once the table is displayed. If the header_filters are changed after the table is displayed the change doesn’t take effect. See example below

#%% show that header filters are not working
import panel as pn
pn.extension('tabulator')

# create a dataframe
import pandas as pd
df = pd.DataFrame({
    'A': [1, 2, 3, 4],
    'B': ['a', 'b', 'c', 'd'],
    'C': [True, False, True, False]
})
# header filters
header_filters = { 
    'A': {'type': 'input', 'func': 'like', 'placeholder': 'Filter A'},
    'B': {'type': 'input', 'func': 'like', 'placeholder': 'Filter B'},
    'C': {'type': 'input', 'func': 'like', 'placeholder': 'Filter C'}
}
header_filters_regex = {
    'A': {'type': 'input', 'func': 'regex', 'placeholder': 'Filter A'},
    'B': {'type': 'input', 'func': 'regex', 'placeholder': 'Filter B'},
    'C': {'type': 'input', 'func': 'regex', 'placeholder': 'Filter C'}
}
# create a tabulator table with header filters
table = pn.widgets.Tabulator(df, header_filters=header_filters, width=400, height=300)
# display the table
table.show()
# %%
table.header_filters = header_filters_regex
# %%

The table displayed initially has func like matches but then it is assigned the regex filters after show and those dont take affect.

Reloading the displayed page does make it take affect.

Is there something I missing here?

Could be a bug; recommend filing on GitHub

Done. Tabulator: setting header_filters not taking effect. · Issue #7958 · holoviz/panel · GitHub