# Smart Search Filter

## Description:

### Allowed Parent Components:

1. Add Smart Search Filters
2. Group Filter

### Allowed Child Components:

1. Popover
2. Pulse
3. Trigger Before Render

### Properties

### ➤ Enable Condition

Specify an expression that should be evaluated to a boolean \[e.g. #{dsAlias.attr1} == 'X' && #{dsAlias.attr2} > 1]. If no expression is specified, it will be considered as true.

Allowed Values: An expression which should return boolean after evaluation

### ➤ Filter Attribute

Select the attribute to filter the data based on the value in the value expression.

Allowed Values: Select the attribute to filter the data based on the value in the value expression.

### ➤ Operator

Select an operator for applying operations on data. Ex. is,is not etc.

Allowed Values: Select an operator for applying operations on data. Ex. is,is not etc.

### ➤ Behaviour

Choosing Sticky will prevent the user from clearing this filter.

Allowed Values:

1. Default
2. Sticky
3. Sticky & Readonly

### ➤ Value Expression

Specify an expression that should be evaluated to a string or number depending on the target attribute

Allowed Values: Specify an expression that should be evaluated to a string or number depending on the target attribute

### ➤ Label Expression

Specify an expression that should be evaluated to a string, that is to be displayed to the user on the Smart Filter. If no label is provded, then the above value will be displayed to the user

Allowed Values: An expression which should return string after evaluation

### ➤ Value Expression

Specify an expression that should be evaluated to a string or number depending on the target attribute

Allowed Values: Specify an expression that should be evaluated to a string or number depending on the target attribute

### ➤ To Label Expression

Specify an expression that should be evaluated to a string, that is to be displayed to the user on the Smart Filter. If no label is provded, then the above value will be displayed to the user

Allowed Values: An expression which should return string after evaluation


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudio.io/ui-components/widgets/smartsearchfilter.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
