'How can I disable real-time validations in react-final-form?
I am using the Field component, to which I pass the validations that I need. In the example below, in the validate prop I pass a regex to validate that it only contains letters. The problem is that validations are always done in real time when the field is updated, and I need it to only happen when I lose focus on the field. Is there any way to be able to do this?
<Field
name="name"
component={TextInput}
placeholder="Name"
validate={inputContainsOnlyWords}
/>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
