improve comment
parent
213bc4c3ac
commit
0e86c2648d
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue