improve comment

This commit is contained in:
Michael Telatynski 2019-12-17 14:36:20 +00:00
parent 213bc4c3ac
commit 0e86c2648d

View file

@ -119,7 +119,8 @@ export default class Field extends React.PureComponent {
allowEmpty, allowEmpty,
}); });
// this method is async and we may have been blurred since validate was called so check // this method is async and so we may have been blurred since the method was called
// if we have then hide the feedback as withValidation does
if (this.state.focused && feedback) { if (this.state.focused && feedback) {
this.setState({ this.setState({
valid, valid,