(status = "active" AND owner contains "design")
{
"combinator": "and",
"rules": [
{
"field": "status",
"operator": "eq",
"value": "active"
},
{
"field": "owner",
"operator": "contains",
"value": "design"
}
]
}Waiting for action
Copy this complete component into a page file. Edit and run it in the Playground.
Loading editor…
AND/OR query group with editable rules.
| Prop | Type | Default | Description |
|---|---|---|---|
fields | string[] | — | Selectable fields. |
group | QueryGroup | — | Combinator + rules. |
onChange | (group) => void | — | Update handler. |