We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18d806f commit 66defadCopy full SHA for 66defad
README.md
@@ -62,6 +62,17 @@ $ yarn add react-validation-builder
62
const schemaYup = transformSchemaToYup(schema);
63
```
64
65
+### Resolve Expression (type expression)
66
+#### resolve expression with custom function
67
+```
68
+ import { transformSchemaToYup } from 'react-validation-builder';
69
+
70
+ const resolveValue = (fieldKey, fieldValue, expression) => {
71
+ // return a true if passed else return a false
72
+ }
73
74
+ const schemaYup = transformSchemaToYup(schema);
75
76
### component for bootstrap
77
78
import { ValidationBuilderEditor } from 'react-validation-builder/lib/bootstrap';
0 commit comments