mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 04:52:06 +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