Skip to content

Commit f5d43ce

Browse files
Update parameter list
Signed-off-by: Kiran Parajuli <[email protected]>
1 parent de6b4e6 commit f5d43ce

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/views/libDocs/composables/useFormik/constants.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ export const UseFormikParameters = [
2222
default: "-",
2323
description: "A yup schema or a validation rules object for validating the form fields.",
2424
},
25+
{
26+
name: "mode",
27+
type: "YUP|JOI|JOD|CUSTOM<string>",
28+
required: false,
29+
default: "CUSTOM",
30+
description: "The mode to use for validation.",
31+
},
2532
{
2633
name: "onSubmit",
2734
type: "FormikOnSubmit<T>",

0 commit comments

Comments
 (0)