We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b034bb commit 50592e8Copy full SHA for 50592e8
docs/typescript.mdx
@@ -26,7 +26,7 @@ interface Field {
26
placeholder?: string; // Value to be displayed in the placeholder of the text field
27
validator?: RuleValidator; // Called when a rule specifies this field
28
valueSources?: ValueSources | ((operator: string) => ValueSources); // List of allowed value sources (must contain "value", "field", or both)
29
- comparator?: string | ((f: Field) => boolean); // Determines which (other) fields to include in the list when valueSource is "field"
+ comparator?: string | ((f: Field, operator: string) => boolean); // Determines which (other) fields to include in the list when valueSource is "field"
30
}
31
```
32
0 commit comments