Richard Všianský

Results 24 comments of Richard Všianský

@anjalikalsariya For that use case you could use submit validation: https://final-form.org/docs/react-final-form/types/FormProps#onsubmit `Submission Errors` In onSubmit function you can return an object with errors.

@anjalikalsariya In that case remove validation from fields and just keep it in the submit function.

This is because javascript resolves `0` as false so the select thinks there is no value. @Hyperkid123 we could probably fix it. As a workaround, @anjalikalsariya, use string and then...

It should be possible to turn off this behavior by setting validateOnBlur, see https://final-form.org/docs/react-final-form/types/FormProps