Decorator that subscribes to filters from the FilterRepository.
This decorator automatically updates the decorated property whenever filters change in the platform. You can optionally filter by limetype or filter ID.
A PropertyDecorator that sets up automatic subscription to filters
@State()@SelectFilters()private filters: Filter[];
@State()@SelectFilters({ limetype: 'company' })private companyFilters: Filter[];
Configuration including limetype/ID filtering and state transformation via SelectFiltersOptions
Decorator that subscribes to filters from the FilterRepository.
This decorator automatically updates the decorated property whenever filters change in the platform. You can optionally filter by limetype or filter ID.
Returns
A PropertyDecorator that sets up automatic subscription to filters
Example
Example