Skip to content

Commit 3a40601

Browse files
committed
add INCLUDES/EXCLUDES conditional logic operators
1 parent e350204 commit 3a40601

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

documentation/2-fields/1-usage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ The conditional rules are passed in a two-dimensional array and each rule can ha
7979
| Key | Description | Type/Value | Required |
8080
| --------- | ----------------------------------------------------------------------------------------------------- | ---------------------------------| -------- |
8181
| `field` | The field name to which the rule is applied. The name should be the same as defined in the container. | `string` | Yes |
82-
| `value` | The value of the field. It can be an array only when compare is IN or NOT IN. | `string|array`, default: `""` | No |
83-
| `compare` | Operator to test. Possible values are: =, <, >, <=, >=, IN, NOT IN. | `string`, default: `=` | No |
82+
| `value` | The value of the field. It can be an array only when compare is IN, NOT IN, INCLUDES or EXCLUDES. | `string|array`, default: `""` | No |
83+
| `compare` | Operator to test. Possible values are: =, <, >, <=, >=, IN, NOT IN, INCLUDES or EXCLUDES. | `string`, default: `=` | No |
8484

8585
You can optionally pass the `relation` key and set it to either `AND` (default) or `OR`. It defines the relation, when there is more than one rule.
8686

0 commit comments

Comments
 (0)