filter
Home > @gooddata/sdk-ui-filters > IAttributeFilterCoreProps > filter
IAttributeFilterCoreProps.filter property
Specify an attribute filter that will be customized using this filter.
Signature:
filter?: IAttributeFilter;
Remarks
The component will use content of the filter and select the items that are already specified on the filter. The filter type determines the filter mode internally: - IPositiveAttributeFilter | INegativeAttributeFilter → elements mode - IArbitraryAttributeFilter → arbitrary mode - IMatchAttributeFilter → match mode
Note: It's not possible to combine this property with "connectToPlaceholder" property. Either - provide a value, or a placeholder. The 'onApply' callback must be specified in order to handle filter changes. This filter definition needs to use primary label of given attribute for filter with elements selection or any label for text filters (arbitrary, match).