FilterBuilder
Renders a filter builder component.
Node name : filter-builder
Features
The FilterBuilder component allows users to build complex filter conditions using a user-friendly interface.
It supports both simple and advanced modes:
- the simple mode uses a filtering mode based on
ANDconditions, - whereas the advanced mode allows more complex conditions by introducing the
ORoperator and grouping of conditions.
Attributes
| Attribute | Type | Required | Default value | Description |
|---|---|---|---|---|
| value | GroupeIsa.Neos.Application.Filters.Filter |
true |
The filter object. | |
| view-model | GroupeIsa.Neos.Designer.UIAbstractions.IViewModel |
false |
The view-model of the current UI view | The view-model for which the filter is being built. |
Examples
Basic usage
When the FilterBuilder belongs to the UI view where the filtering occurs, the view-model will be automatically inferred.
<filter-builder value="@Fields.EditedFilter" />
Advanced usage
The FilterBuilder can also be used outside of the UI view for which the filter is being built, in which case you should also provide the target view-model.
<filter-builder value="@Fields.EditedFilter" view-model="@Computeds.TargetViewModel" />