Bug Report
- Package version(s): (5.49.0)
- Browser and OS versions: (All)
Priorities and help requested (not applicable if asking question):
Are you willing to submit a PR to fix? (Yes)
Requested priority: (Normal)
Describe the issue:
)
Steps:
- Set incorrect text in the first field
- Change focus
- To observe an error
- Set focus in the first field
- Remove one symbol
- Return removed symbol
- Change focus
Actual behavior:
If we re-enter incorrect value the way showed in video, the focus out validation will not be triggered
TextField (line: 422)
if (this._latestValidateValue === value) {
return;
}
Expected behavior:
If we re-enter incorrect value the way showed in video, the focus out validation will be triggered
TextField (line: 422)
If value doesn't modify and validated by changed value, then return;
const { validateOnFocusIn, validateOnFocusOut } = this.props;
if (this._latestValidateValue === value && !(validateOnFocusIn || validateOnFocusOut)) {
return;
}
If applicable, please provide a codepen repro:
Example
Bug Report
Priorities and help requested (not applicable if asking question):
Are you willing to submit a PR to fix? (Yes)
Requested priority: (Normal)
Describe the issue:
Steps:
Actual behavior:
If we re-enter incorrect value the way showed in video, the focus out validation will not be triggered
TextField (line: 422)
Expected behavior:
If we re-enter incorrect value the way showed in video, the focus out validation will be triggered
TextField (line: 422)
If value doesn't modify and validated by changed value, then return;
If applicable, please provide a codepen repro:
Example