luke - Hey guys,I’m hitting a blocker trying ...
# dev-help
l
Hey guys, I’m hitting a blocker trying to clear a date filter when embedding TS and using runtime filters via HostEvent.UpdateFilters. This works fine with multi-select filters e.g. { column, oper: 'IN', values: [] } but no luck with date filters, I’ve tried many payloads e.g. { column, oper: 'BW_INC', values: [], type: 'EXACT_DATE_RANGE' } { column, oper: 'EQ', values: [] } and others… There seems to be no examples of this in the documentation, can someone guide me to a solution here?. The response from TS is just a timeout in these cases, no clear error message.
a
message has been deleted
y
Hey @luke , { column: "date", oper: "EQ", values: [""], type: "EXACT_DATE" } Can you try something like this - put value as empty in values: [""] array. This worked for me. Yes we will check the docs and also we will add more info relevant to this. Thanks.
l
this works! thanks for the quick response
y
Hey @luke , can you tell me the usecase - you are making out of this. Would help me out for documenting. Thanks.