File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 },
4141 "dependencies" : {
4242 "@lemoncode/fonk" : " ^1.3.0" ,
43- "@lemoncode/fonk-final-form" : " ^2.3.1" ,
4443 "@lemoncode/fonk-formik" : " ^4.0.1" ,
4544 "@lemoncode/fonk-match-field-validator" : " ^1.0.1" ,
4645 "@lemoncode/fonk-required-by-field-validator" : " ^1.0.1" ,
Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ export const validationSchema: ValidationSchema = {
77 name : [ Validators . required ] ,
88 email : [
99 {
10- validator : Validators . email ,
10+ validator : Validators . required ,
1111 } ,
1212 {
13- validator : Validators . required ,
13+ validator : Validators . email ,
1414 } ,
1515 ] ,
1616 temporalPassword : [
Original file line number Diff line number Diff line change 11import { ValidationSchema , Validators } from '@lemoncode/fonk' ;
2- import { createFinalFormValidation } from '@lemoncode/fonk-final-form ' ;
2+ import { createFormikValidation } from '@lemoncode/fonk-formik ' ;
33
44const validationSchema : ValidationSchema = {
55 field : {
@@ -8,4 +8,4 @@ const validationSchema: ValidationSchema = {
88 } ,
99} ;
1010
11- export const formValidation = createFinalFormValidation ( validationSchema ) ;
11+ export const formValidation = createFormikValidation ( validationSchema ) ;
You can’t perform that action at this time.
0 commit comments