mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
improve comment
This commit is contained in:
parent
213bc4c3ac
commit
0e86c2648d
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue