Home > widget-integration > FilterBase
FilterBase type
Base configuration properties shared by all filter types.
Contains display settings, behavior flags, and styling options that apply to every filter regardless of its value type (simple, collection, rating, tags).
Signature:
export type FilterBase = {
filterType: string;
label: string;
isCollapseMobile: boolean;
isCollapsePC?: boolean;
tooltip: string | null;
displayAllValuesInUppercaseForm?: boolean;
showSearchBoxFilterMobile: boolean;
showSearchBoxFilterPC: boolean;
showMoreType: "none" | "auto" | "manual";
sortManualValues: boolean;
sortType: string;
filterOptionId?: string;
position?: number;
selectType?: "single" | "multiple";
status?: "active" | "inactive" | "disabled";
valueType?: "simple" | "collection" | "rating" | "tags" | "range";
reviewsioAttrValue?: string;
swatchStyle?: string;
displayType?: "list" | "grid";
manualValues?: string[];
removeTextFilterValues?: string;
replaceTextFilterValues?: string | null;
excludedValues?: string[];
moneyFormatValue?: string;
sliderStep?: string | number;
sliderRange?: string | number;
sliderDelimiter?: string;
hideTextBoxes?: boolean;
shortenPipsRange?: boolean;
};
Remarks
This type is used as the base for the FilterConfig discriminated union. Technical Support teams can reference these properties when customizing filter behavior per shop.