react-final-form icon indicating copy to clipboard operation
react-final-form copied to clipboard

Cannot set a field that depends on other fields as invalid

Open nicoabie opened this issue 2 years ago • 2 comments

Are you submitting a bug report or a feature request?

bug report

What is the current behavior?

I'm trying to use a mutator to set a field as invalid because the validity of that field depends on the validity of others. I've spent a large amount of time researching the documentation, stack overflow, the issues and de codebase and could not find a solution. Is that possible?

What is the expected behavior?

Be able to set a field as invalid

Sandbox Link

What's your environment?

Other information

nicoabie avatar Aug 21 '21 16:08 nicoabie

Not 100% sure what you are trying to achieve :p could u share a sandbox link?

inovux avatar Aug 31 '21 15:08 inovux

trigger validation programmatically should be possible. form.change doesn't do it.

michael-preuss avatar Oct 22 '21 17:10 michael-preuss