Код: Выделить всё
{
const errors = {};
if (!values.example) errors.example = 'Required';
return errors;
}}
onSubmit={this.handleSubmit}
render={formProps => {
return (
)
}} />
Подробнее здесь: https://stackoverflow.com/questions/571 ... rror-field