You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(validator): add support for filter type (#20)
We're adding support for the `filter` type of field, which was missing until now.
---------
Co-authored-by: Patrik Simek <[email protected]>
Co-authored-by: Copilot <[email protected]>
Copy file name to clipboardExpand all lines: src/types.ts
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@ export type FormanSchemaFieldType =
23
23
|'email'
24
24
|'filename'
25
25
|'file'
26
+
|'filter'
26
27
|'folder'
27
28
|'hidden'
28
29
|'integer'
@@ -119,6 +120,8 @@ export type FormanSchemaField = {
119
120
sort?: string;
120
121
/** Adds an extra button to the field which opens an extra form. When the form is submitted, a specified RPC is called and the result is set as a new value of the parameter. */
121
122
rpc?: FormanSchemaRPCButton;
123
+
/** Definition of boolean logic to apply (filter only) */
0 commit comments