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
Building the app fails with same info as in my IDE:
TS2322: Type 'boolean | "" | FormikTouched<any> | FormikTouched<any>[] | undefined' is not assignable to type 'boolean | undefined'. Type '""' is not assignable to type 'boolean | undefined'. form-control.d.ts(22, 5): The expected type comes from property 'isInvalid' which is declared here on type 'IntrinsicAttributes & OmitCommonProps<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof FormControlProps> & FormControlProps & OmitCommonProps<...> & { ...; }'
Reproducible example
not necessary
Suggested solution(s)
Typing for ChakraUI need type safety with booleans for isInvalid form control
wethinkagile
changed the title
Make
Formik Code is not liked by ChakraUI typings
Feb 3, 2022
wethinkagile
changed the title
Formik Code is not liked by ChakraUI typings
Formik isInvalid form control string-possibility are not liked by ChakraUI typings
Feb 3, 2022
Bug report
Current Behavior
Formik String possibility is not liked by ChakraUI boolean typings:
Expected behavior
Building the app fails with same info as in my IDE:
Reproducible example
not necessary
Suggested solution(s)
Typing for ChakraUI need type safety with booleans for
isInvalid
form controlAdditional context
Workaround/Hack
Related
#3152
Your environment
The text was updated successfully, but these errors were encountered: