mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-13 20:04:35 +03:00
interface: reset touched in FormikOnBlur
This commit is contained in:
parent
dbda698a65
commit
0830c861fb
@ -15,7 +15,7 @@ export function FormikOnBlur<
|
||||
) {
|
||||
const { values } = formikBag;
|
||||
formikBag.submitForm().then(() => {
|
||||
formikBag.resetForm({ values });
|
||||
formikBag.resetForm({ values, touched: {} });
|
||||
});
|
||||
}
|
||||
}, [
|
||||
|
Loading…
Reference in New Issue
Block a user