Search UI: Remove "" from Facet component options

Hello,

I am building out the Facet components for a search index where some of the indexed items will have a blank field. I want to exclude the "" option from the facet display. Ideally something like:

<Facet
    field="get_alumni_degrees_filter"
    label="Degrees"
    filterType="any"
    isFilterable={true}
    **exclude={[""]}**
/>

Is this possible?

1 Like