Is there any way to set submission errors temporary? To be clear, I would like to disappear error after field change. My question according to this example https://codesandbox.io/s/9y9om95lyp as you can see occurred error will change only on next form submit – I would like to avoid this case and resolve errors earlier.
You can change it yourself or you can use the dirtySinceLastSubmit field prop. https://github.com/final-form/final-form/issues/48
Also you can use the setFieldData mutator to mutate the field flag, after an interval.
@SpearThruster
Can you please give some example on how to change submitErrors.
I have situation where my fields unmount and mount again, and all their meta data removes from form state, so I can't rely on dirty, modified, and so on..
Thanks.
Most helpful comment
@SpearThruster
Can you please give some example on how to change submitErrors.
I have situation where my fields unmount and mount again, and all their meta data removes from form state, so I can't rely on dirty, modified, and so on..
Thanks.