@
@
@Richswitch2018-10-30 13:14:24
JavaScript
@Richswitch, 2018-10-30 13:14:24

How to disable validation for a field after onBlur from the field?

Hey!
As you know, after onBlur from the field from redux-form , the component is updated, as well as the validation update.
I need the validation to happen only after clicking on the Submit button. How can I disable validation after onBlur ? Or how do I clean up the errored object in the redux-form store?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2018-10-30
_

I want the validation to happen only after the submit button is clicked.

I take it you think reading the documentation is redundant. This is in vain - there is an example of what you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question