diff --git a/src/components/formio/textfield.tsx b/src/components/formio/textfield.tsx index 082a210..287d1ba 100644 --- a/src/components/formio/textfield.tsx +++ b/src/components/formio/textfield.tsx @@ -35,7 +35,7 @@ export const TextField: React.FC { - const {getFieldProps, getFieldMeta} = useFormikContext(); + const {getFieldProps, getFieldMeta, setFieldValue} = useFormikContext(); const {value, onChange: formikOnChange} = getFieldProps(name); const {touched} = getFieldMeta(name); const {errors, hasErrors} = useValidationErrors(name); @@ -48,6 +48,11 @@ export const TextField: React.FC